|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.internal.remote.RemoteConnection oracle.toplink.remote.rmi.RMIConnection
public class RMIConnection
This class exists on on the client side which talks to remote session controller through RMI connection.
Constructor Summary | |
---|---|
RMIConnection(RMIRemoteSessionController controller)
The connection must be create from the server-side session controllers stub. |
Method Summary | |
---|---|
void |
addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher)
Deprecated. Since 4.0. There is no direct replacement API. |
Session |
createRemoteSession()
Returns a remote session. |
void |
cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
Used for closing cursored streams across RMI. |
java.util.Vector |
cursoredStreamNextPage(oracle.toplink.internal.remote.RemoteCursoredStream remoteCursoredStream,
ReadQuery query,
RemoteSession session,
int pageSize)
Retrieve next page size of objects from the remote cursored stream |
int |
cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
Return the cursored stream size |
void |
processCommand(oracle.toplink.internal.remote.RemoteCommand command)
ADVANCED: This method will send the command to the remote session for processing |
boolean |
scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid,
int rows)
Moves the cursor to the given row number in the result set |
void |
scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Moves the cursor to the end of the result set, just after the last row. |
void |
scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Moves the cursor to the front of the result set, just before the first row |
void |
scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
Used for closing scrollable cursor across RMI. |
int |
scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
Retrieves the current row index number |
boolean |
scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Moves the cursor to the first row in the result set |
boolean |
scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Indicates whether the cursor is after the last row in the result set. |
boolean |
scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Indicates whether the cursor is before the first row in the result set. |
boolean |
scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Indicates whether the cursor is on the first row of the result set. |
boolean |
scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Indicates whether the cursor is on the last row of the result set. |
boolean |
scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Moves the cursor to the last row in the result set |
java.lang.Object |
scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid,
ReadQuery query,
RemoteSession session)
Retrieve next object from the remote scrollable cursor |
java.lang.Object |
scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid,
ReadQuery query,
RemoteSession session)
Retrieve previous object from the remote scrollable cursor |
boolean |
scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid,
int rows)
Moves the cursor to the given row number in the result set |
int |
scrollableCursorSize(java.rmi.server.ObjID cursorId)
Return the scrollable cursor size |
Methods inherited from class oracle.toplink.internal.remote.RemoteConnection |
---|
getServiceName, release, setServiceName |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RMIConnection(RMIRemoteSessionController controller)
createRemoteSession();
Method Detail |
---|
public void addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher) throws java.lang.Exception
addRemoteControllerForSynchronization
in class oracle.toplink.internal.remote.RemoteConnection
remoteTransporter
- Transporter This transporter contains the RemoteDispatcher of the calling
server.
java.lang.Exception
public void processCommand(oracle.toplink.internal.remote.RemoteCommand command)
processCommand
in class oracle.toplink.internal.remote.RemoteConnection
command
- RemoteCOmmand Contains a command that will be executed on the remote sessionoracle.toplink.internal.RemoteCommand
public Session createRemoteSession()
createRemoteSession
in class oracle.toplink.internal.remote.RemoteConnection
public void cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
cursoredStreamClose
in class oracle.toplink.internal.remote.RemoteConnection
public java.util.Vector cursoredStreamNextPage(oracle.toplink.internal.remote.RemoteCursoredStream remoteCursoredStream, ReadQuery query, RemoteSession session, int pageSize)
cursoredStreamNextPage
in class oracle.toplink.internal.remote.RemoteConnection
public int cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
cursoredStreamSize
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
scrollableCursorAbsolute
in class oracle.toplink.internal.remote.RemoteConnection
public void scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorAfterLast
in class oracle.toplink.internal.remote.RemoteConnection
public void scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorBeforeFirst
in class oracle.toplink.internal.remote.RemoteConnection
public void scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorClose
in class oracle.toplink.internal.remote.RemoteConnection
public int scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorCurrentIndex
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorFirst
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorIsAfterLast
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorIsBeforeFirst
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorIsFirst
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorIsLast
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
scrollableCursorLast
in class oracle.toplink.internal.remote.RemoteConnection
public java.lang.Object scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
scrollableCursorNextObject
in class oracle.toplink.internal.remote.RemoteConnection
public java.lang.Object scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
scrollableCursorPreviousObject
in class oracle.toplink.internal.remote.RemoteConnection
public boolean scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
scrollableCursorRelative
in class oracle.toplink.internal.remote.RemoteConnection
public int scrollableCursorSize(java.rmi.server.ObjID cursorId)
scrollableCursorSize
in class oracle.toplink.internal.remote.RemoteConnection
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |