EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.sessions.remote.rmi.iiop
Class _RMIRemoteSessionController_Stub

java.lang.Object
  extended by org.omg.CORBA.portable.ObjectImpl
      extended by org.omg.CORBA_2_3.portable.ObjectImpl
          extended by javax.rmi.CORBA.Stub
              extended by org.eclipse.persistence.sessions.remote.rmi.iiop._RMIRemoteSessionController_Stub
All Implemented Interfaces:
java.io.Serializable, java.rmi.Remote, RMIRemoteSessionController, org.omg.CORBA.Object

public class _RMIRemoteSessionController_Stub
extends javax.rmi.CORBA.Stub
implements RMIRemoteSessionController

INTERNAL:

See Also:
Serialized Form

Constructor Summary
_RMIRemoteSessionController_Stub()
           
 
Method Summary
 java.lang.String[] _ids()
           
 Transporter beginTransaction()
          Begin a transaction on the database.
 Transporter commitRootUnitOfWork(Transporter remoteUnitOfWork)
          To commit remote unit of work on the server side.
 Transporter commitTransaction()
          Commit a transaction on the database.
 Transporter cursoredStreamClose(Transporter remoetCursoredStreamID)
          Used for closing cursored streams across RMI.
 Transporter cursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize)
          Retrieve next page size of objects from the remote cursored stream
 Transporter cursoredStreamSize(Transporter cursoredStream)
          INTERNAL: Return the cursored stream size
 Transporter cursorSelectObjects(Transporter policy)
          To get remote cursor stub in a transporter
 Transporter executeNamedQuery(Transporter name, Transporter theClass, Transporter arguments)
          A remote query after serialization is executed locally.
 Transporter executeQuery(Transporter query)
          To execute remote query on the server side.
 Transporter getDefaultReadOnlyClasses()
          To get the default read-only classes from the server side.
 Transporter getDescriptor(Transporter domainClass)
          To get descriptor from the server side
 Transporter getLogin()
          To get login from the server side
 Transporter getSequenceNumberNamed(Transporter remoteFunctionCall)
          INTERNAL: Get the value returned by remote function call
 Transporter initializeIdentityMapsOnServerSession()
           
 Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)
          To instantiate remote value holder on the server side.
 Transporter processCommand(Transporter remoteTransporter)
          INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote session
static org.eclipse.persistence.internal.sessions.remote.Transporter readTransporter(org.omg.CORBA.portable.InputStream stream)
          Insert the method's description here.
 Transporter rollbackTransaction()
          Rollback a transaction on the database.
 Transporter scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows)
          Moves the cursor to the given row number in the result set
 Transporter scrollableCursorAfterLast(Transporter remoteScrollableCursorOid)
          Moves the cursor to the end of the result set, just after the last row.
 Transporter scrollableCursorBeforeFirst(Transporter remoteScrollableCursor)
          Moves the cursor to the front of the result set, just before the first row
 Transporter scrollableCursorClose(Transporter remoteScrollableCursorOid)
          Used for closing scrollable cursor across RMI.
 Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursor)
          Retrieves the current row index number
 Transporter scrollableCursorFirst(Transporter remoteScrollableCursor)
          Moves the cursor to the first row in the result set
 Transporter scrollableCursorIsAfterLast(Transporter remoteScrollableCursor)
          Indicates whether the cursor is after the last row in the result set.
 Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor)
          Indicates whether the cursor is before the first row in the result set.
 Transporter scrollableCursorIsFirst(Transporter remoteScrollableCursor)
          Indicates whether the cursor is on the first row of the result set.
 Transporter scrollableCursorIsLast(Transporter remoteScrollableCursor)
          Indicates whether the cursor is on the last row of the result set.
 Transporter scrollableCursorLast(Transporter remoteScrollableCursor)
          Moves the cursor to the last row in the result set
 Transporter scrollableCursorNextObject(Transporter scrollableCursorOid)
          INTERNAL: Retrieve next object from the scrollable cursor
 Transporter scrollableCursorPreviousObject(Transporter scrollableCursorOid)
          INTERNAL: Retrieve previous object from the scrollable cursor
 Transporter scrollableCursorRelative(Transporter remoteScrollableCursor, int rows)
          Moves the cursor to the given row number in the result set
 Transporter scrollableCursorSize(Transporter cursoredStream)
          INTERNAL: Return the cursor size
static void writeTransporter(org.eclipse.persistence.internal.sessions.remote.Transporter transporter, org.omg.CORBA.portable.OutputStream stream)
          Insert the method's description here.
 
Methods inherited from class javax.rmi.CORBA.Stub
connect, equals, hashCode, toString
 
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

_RMIRemoteSessionController_Stub

public _RMIRemoteSessionController_Stub()
Method Detail

_ids

public java.lang.String[] _ids()
Specified by:
_ids in class org.omg.CORBA.portable.ObjectImpl

processCommand

public Transporter processCommand(Transporter remoteTransporter)
                           throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote session

Specified by:
processCommand in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

beginTransaction

public Transporter beginTransaction()
                             throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Begin a transaction on the database.

Specified by:
beginTransaction in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

commitRootUnitOfWork

public Transporter commitRootUnitOfWork(Transporter remoteUnitOfWork)
                                 throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To commit remote unit of work on the server side.

Specified by:
commitRootUnitOfWork in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

commitTransaction

public Transporter commitTransaction()
                              throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Commit a transaction on the database.

Specified by:
commitTransaction in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

cursoredStreamClose

public Transporter cursoredStreamClose(Transporter remoetCursoredStreamID)
                                throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Used for closing cursored streams across RMI.

Specified by:
cursoredStreamClose in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

cursoredStreamNextPage

public Transporter cursoredStreamNextPage(Transporter remoteCursoredStream,
                                          int pageSize)
                                   throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Retrieve next page size of objects from the remote cursored stream

Specified by:
cursoredStreamNextPage in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

cursoredStreamSize

public Transporter cursoredStreamSize(Transporter cursoredStream)
                               throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: Return the cursored stream size

Specified by:
cursoredStreamSize in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

cursorSelectObjects

public Transporter cursorSelectObjects(Transporter policy)
                                throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To get remote cursor stub in a transporter

Specified by:
cursorSelectObjects in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

executeNamedQuery

public Transporter executeNamedQuery(Transporter name,
                                     Transporter theClass,
                                     Transporter arguments)
                              throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
A remote query after serialization is executed locally.

Specified by:
executeNamedQuery in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

executeQuery

public Transporter executeQuery(Transporter query)
                         throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To execute remote query on the server side.

Specified by:
executeQuery in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

getDescriptor

public Transporter getDescriptor(Transporter domainClass)
                          throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To get descriptor from the server side

Specified by:
getDescriptor in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

getDefaultReadOnlyClasses

public Transporter getDefaultReadOnlyClasses()
                                      throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To get the default read-only classes from the server side.

Specified by:
getDefaultReadOnlyClasses in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

getLogin

public Transporter getLogin()
                     throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To get login from the server side

Specified by:
getLogin in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

getSequenceNumberNamed

public Transporter getSequenceNumberNamed(Transporter remoteFunctionCall)
                                   throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: Get the value returned by remote function call

Specified by:
getSequenceNumberNamed in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

initializeIdentityMapsOnServerSession

public Transporter initializeIdentityMapsOnServerSession()
                                                  throws java.rmi.RemoteException
Specified by:
initializeIdentityMapsOnServerSession in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

instantiateRemoteValueHolderOnServer

public Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)
                                                 throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
To instantiate remote value holder on the server side.

Specified by:
instantiateRemoteValueHolderOnServer in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

readTransporter

public static org.eclipse.persistence.internal.sessions.remote.Transporter readTransporter(org.omg.CORBA.portable.InputStream stream)
Insert the method's description here. Creation date: (8/15/00 9:07:19 AM)

Parameters:
stream - org.omg.CORBA_2_3.portable.InputStream
Returns:
org.eclipse.persistence.internal.sessions.remote.Transporter

rollbackTransaction

public Transporter rollbackTransaction()
                                throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Rollback a transaction on the database.

Specified by:
rollbackTransaction in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorAbsolute

public Transporter scrollableCursorAbsolute(Transporter remoteScrollableCursorOid,
                                            int rows)
                                     throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the given row number in the result set

Specified by:
scrollableCursorAbsolute in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorAfterLast

public Transporter scrollableCursorAfterLast(Transporter remoteScrollableCursorOid)
                                      throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the end of the result set, just after the last row.

Specified by:
scrollableCursorAfterLast in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorBeforeFirst

public Transporter scrollableCursorBeforeFirst(Transporter remoteScrollableCursor)
                                        throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the front of the result set, just before the first row

Specified by:
scrollableCursorBeforeFirst in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorClose

public Transporter scrollableCursorClose(Transporter remoteScrollableCursorOid)
                                  throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Used for closing scrollable cursor across RMI.

Specified by:
scrollableCursorClose in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorCurrentIndex

public Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursor)
                                         throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Retrieves the current row index number

Specified by:
scrollableCursorCurrentIndex in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorFirst

public Transporter scrollableCursorFirst(Transporter remoteScrollableCursor)
                                  throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the first row in the result set

Specified by:
scrollableCursorFirst in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorIsAfterLast

public Transporter scrollableCursorIsAfterLast(Transporter remoteScrollableCursor)
                                        throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Indicates whether the cursor is after the last row in the result set.

Specified by:
scrollableCursorIsAfterLast in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorIsBeforeFirst

public Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor)
                                          throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Indicates whether the cursor is before the first row in the result set.

Specified by:
scrollableCursorIsBeforeFirst in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorIsFirst

public Transporter scrollableCursorIsFirst(Transporter remoteScrollableCursor)
                                    throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Indicates whether the cursor is on the first row of the result set.

Specified by:
scrollableCursorIsFirst in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorIsLast

public Transporter scrollableCursorIsLast(Transporter remoteScrollableCursor)
                                   throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Indicates whether the cursor is on the last row of the result set.

Specified by:
scrollableCursorIsLast in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorLast

public Transporter scrollableCursorLast(Transporter remoteScrollableCursor)
                                 throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the last row in the result set

Specified by:
scrollableCursorLast in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorNextObject

public Transporter scrollableCursorNextObject(Transporter scrollableCursorOid)
                                       throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: Retrieve next object from the scrollable cursor

Specified by:
scrollableCursorNextObject in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorPreviousObject

public Transporter scrollableCursorPreviousObject(Transporter scrollableCursorOid)
                                           throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: Retrieve previous object from the scrollable cursor

Specified by:
scrollableCursorPreviousObject in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorRelative

public Transporter scrollableCursorRelative(Transporter remoteScrollableCursor,
                                            int rows)
                                     throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
Moves the cursor to the given row number in the result set

Specified by:
scrollableCursorRelative in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

scrollableCursorSize

public Transporter scrollableCursorSize(Transporter cursoredStream)
                                 throws java.rmi.RemoteException
Description copied from interface: RMIRemoteSessionController
INTERNAL: Return the cursor size

Specified by:
scrollableCursorSize in interface RMIRemoteSessionController
Throws:
java.rmi.RemoteException

writeTransporter

public static void writeTransporter(org.eclipse.persistence.internal.sessions.remote.Transporter transporter,
                                    org.omg.CORBA.portable.OutputStream stream)
Insert the method's description here. Creation date: (8/15/00 9:05:39 AM)

Parameters:
stream - org.omg.CORBA_2_3.portable.OutputStream
transporter - org.eclipse.persistence.internal.sessions.remote.Transporter

EclipseLink 1.0_1.0M2 API Reference - Incubation