|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResultSetProviderInterface
An object which provides result sets which may be remote.
Method Summary | |
---|---|
RemoteResultSetInterface |
getRemoteResultSet()
Gets a remote result set This method is invoked on a remote object or if the returned ResultSet needs to be remoted. |
java.sql.ResultSet |
getResultSet()
Gets a ResultSet. |
java.lang.Object |
hasResultSet()
Check if getResultSet will succeed. |
Method Detail |
---|
java.lang.Object hasResultSet() throws java.rmi.UnmarshalException, java.rmi.RemoteException
getResultSet()
to
determine whether this method should be used.
java.rmi.UnmarshalException
- if invoked on a remote object
java.rmi.RemoteException
- if a network I/O error occurs.java.sql.ResultSet getResultSet() throws java.rmi.UnmarshalException, TransportException, java.rmi.RemoteException
hasResultSet()
may be invoked to determine
if getResultSet would succeed. If a ResultSet is needed in a
remote context getRemoteResultSet should be invoked.
java.rmi.UnmarshalException
- if invoked on a remote object
TransportException
- if an exception occurred while constructing the ResultSet
java.rmi.RemoteException
- if a network I/O error occurs.RemoteResultSetInterface getRemoteResultSet() throws TransportException, java.rmi.RemoteException
java.rmi.UnmarshalException
- if invoked on a remote object
TransportException
- if an exception occurred while constructing the RemoteResultSetInterface
java.rmi.RemoteException
- if a network I/O error occurs.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |