Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.remote.rmi.wls
Class RMIConnection

java.lang.Object
  extended by oracle.toplink.internal.remote.RemoteConnection
      extended by oracle.toplink.remote.rmi.wls.RMIConnection
All Implemented Interfaces:
java.io.Serializable

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by RMIConnection

public class RMIConnection
extends oracle.toplink.internal.remote.RemoteConnection

This class exists on the client side which talks to remote session controller through RMI connection.

See Also:
Serialized Form

Constructor Summary
RMIConnection(RMIRemoteSessionController controller)
          Deprecated. The connection must be create from the server-side session controllers stub.
 
Method Summary
 void addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher)
          Deprecated. Since 4.0
 Session createRemoteSession()
          Deprecated. Returns a remote session.
 void cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
          Deprecated. Used for closing cursored streams across RMI.
 java.util.Vector cursoredStreamNextPage(oracle.toplink.internal.remote.RemoteCursoredStream remoteCursoredStream, ReadQuery query, RemoteSession session, int pageSize)
          Deprecated. Retrieve next page size of objects from the remote cursored stream
 int cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
          Deprecated. Return the cursored stream size
 void processCommand(oracle.toplink.internal.remote.RemoteCommand command)
          Deprecated. ADVANCED: This method will send the command to the remote session for processing
 boolean scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
          Deprecated. Moves the cursor to the given row number in the result set
 void scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the end of the result set, just after the last row.
 void scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the front of the result set, just before the first row
 void scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Used for closing scrollable cursor across RMI.
 int scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Retrieves the current row index number
 boolean scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the first row in the result set
 boolean scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is after the last row in the result set.
 boolean scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is before the first row in the result set.
 boolean scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is on the first row of the result set.
 boolean scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Indicates whether the cursor is on the last row of the result set.
 boolean scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
          Deprecated. Moves the cursor to the last row in the result set
 java.lang.Object scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
          Deprecated. Retrieve next object from the remote scrollable cursor
 java.lang.Object scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid, ReadQuery query, RemoteSession session)
          Deprecated. Retrieve previous object from the remote scrollable cursor
 boolean scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid, int rows)
          Deprecated. Moves the cursor to the given row number in the result set
 int scrollableCursorSize(java.rmi.server.ObjID cursorId)
          Deprecated. 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

RMIConnection

public RMIConnection(RMIRemoteSessionController controller)
Deprecated. 
The connection must be create from the server-side session controllers stub. The session in then created from the connection through createRemoteSession().

See Also:
createRemoteSession();
Method Detail

processCommand

public void processCommand(oracle.toplink.internal.remote.RemoteCommand command)
Deprecated. 
ADVANCED: This method will send the command to the remote session for processing

Specified by:
processCommand in class oracle.toplink.internal.remote.RemoteConnection
Parameters:
command - RemoteCOmmand Contains a command that will be executed on the remote session
See Also:
oracle.toplink.internal.RemoteCommand

addRemoteControllerForSynchronization

public void addRemoteControllerForSynchronization(java.lang.Object remoteDispatcher)
                                           throws java.lang.Exception
Deprecated. Since 4.0

ADVANCED: This method is intended to be used by newly connecting nodes to notify the other nodes in a distributed system to send changes to this calling server

Specified by:
addRemoteControllerForSynchronization in class oracle.toplink.internal.remote.RemoteConnection
Parameters:
remoteTransporter - Transporter This transporter contains the RemoteDispatcher of the calling server.
Throws:
java.lang.Exception

createRemoteSession

public Session createRemoteSession()
Deprecated. 
Returns a remote session.

Specified by:
createRemoteSession in class oracle.toplink.internal.remote.RemoteConnection

cursoredStreamClose

public void cursoredStreamClose(java.rmi.server.ObjID remoteCursoredStreamOid)
Deprecated. 
Used for closing cursored streams across RMI.

Specified by:
cursoredStreamClose in class oracle.toplink.internal.remote.RemoteConnection

cursoredStreamNextPage

public java.util.Vector cursoredStreamNextPage(oracle.toplink.internal.remote.RemoteCursoredStream remoteCursoredStream,
                               ReadQuery query,
                               RemoteSession session,
                               int pageSize)
Deprecated. 
Retrieve next page size of objects from the remote cursored stream

Specified by:
cursoredStreamNextPage in class oracle.toplink.internal.remote.RemoteConnection

cursoredStreamSize

public int cursoredStreamSize(java.rmi.server.ObjID remoteCursoredStreamID)
Deprecated. 
Return the cursored stream size

Specified by:
cursoredStreamSize in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorAbsolute

public boolean scrollableCursorAbsolute(java.rmi.server.ObjID remoteScrollableCursorOid,
                                        int rows)
Deprecated. 
Moves the cursor to the given row number in the result set

Specified by:
scrollableCursorAbsolute in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorAfterLast

public void scrollableCursorAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the end of the result set, just after the last row.

Specified by:
scrollableCursorAfterLast in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorBeforeFirst

public void scrollableCursorBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the front of the result set, just before the first row

Specified by:
scrollableCursorBeforeFirst in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorClose

public void scrollableCursorClose(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Used for closing scrollable cursor across RMI.

Specified by:
scrollableCursorClose in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorCurrentIndex

public int scrollableCursorCurrentIndex(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Retrieves the current row index number

Specified by:
scrollableCursorCurrentIndex in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorFirst

public boolean scrollableCursorFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the first row in the result set

Specified by:
scrollableCursorFirst in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorIsAfterLast

public boolean scrollableCursorIsAfterLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is after the last row in the result set.

Specified by:
scrollableCursorIsAfterLast in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorIsBeforeFirst

public boolean scrollableCursorIsBeforeFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is before the first row in the result set.

Specified by:
scrollableCursorIsBeforeFirst in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorIsFirst

public boolean scrollableCursorIsFirst(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is on the first row of the result set.

Specified by:
scrollableCursorIsFirst in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorIsLast

public boolean scrollableCursorIsLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Indicates whether the cursor is on the last row of the result set.

Specified by:
scrollableCursorIsLast in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorLast

public boolean scrollableCursorLast(java.rmi.server.ObjID remoteScrollableCursorOid)
Deprecated. 
Moves the cursor to the last row in the result set

Specified by:
scrollableCursorLast in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorNextObject

public java.lang.Object scrollableCursorNextObject(java.rmi.server.ObjID remoteScrollableCursorOid,
                                                   ReadQuery query,
                                                   RemoteSession session)
Deprecated. 
Retrieve next object from the remote scrollable cursor

Specified by:
scrollableCursorNextObject in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorPreviousObject

public java.lang.Object scrollableCursorPreviousObject(java.rmi.server.ObjID remoteScrollableCursorOid,
                                                       ReadQuery query,
                                                       RemoteSession session)
Deprecated. 
Retrieve previous object from the remote scrollable cursor

Specified by:
scrollableCursorPreviousObject in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorRelative

public boolean scrollableCursorRelative(java.rmi.server.ObjID remoteScrollableCursorOid,
                                        int rows)
Deprecated. 
Moves the cursor to the given row number in the result set

Specified by:
scrollableCursorRelative in class oracle.toplink.internal.remote.RemoteConnection

scrollableCursorSize

public int scrollableCursorSize(java.rmi.server.ObjID cursorId)
Deprecated. 
Return the scrollable cursor size

Specified by:
scrollableCursorSize in class oracle.toplink.internal.remote.RemoteConnection

Copyright © 1998, 2010, Oracle. All Rights Reserved.