Module org.eclipse.persistence.core
Interface RMIRemoteSessionController
-
- All Superinterfaces:
Remote
- All Known Implementing Classes:
RMIRemoteSessionControllerDispatcher
public interface RMIRemoteSessionController extends Remote
Defines the public methods remote connection can invoke on the remote session controller.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransporterbeginEarlyTransaction()TransporterbeginTransaction()TransportercommitRootUnitOfWork(Transporter remoteUnitOfWork)To commit remote unit of work on the server side.TransportercommitTransaction()Commit a transaction on the database.TransportercursoredStreamClose(Transporter remoetCursoredStreamID)Used for closing cursored streams across RMI.TransportercursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize)Retrieve next page size of objects from the remote cursored streamTransportercursoredStreamSize(Transporter cursoredStream)INTERNAL: Return the cursored stream sizeTransportercursorSelectObjects(Transporter policy)To get remote cursor stub in a transporterTransporterexecuteNamedQuery(Transporter name, Transporter theClass, Transporter arguments)A remote query after serialization is executed locally.TransporterexecuteQuery(Transporter query)To execute remote query on the server side.TransportergetDefaultReadOnlyClasses()To get the default read-only classes from the server side.TransportergetDescriptor(Transporter domainClass)To get descriptor from the server sideTransportergetDescriptorForAlias(Transporter alias)To get descriptor from the server sideTransportergetLogin()To get login from the server sideTransportergetSequenceNumberNamed(Transporter remoteFunctionCall)INTERNAL: Get the value returned by remote function callTransporterinitializeIdentityMapsOnServerSession()TransporterinstantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)To instantiate remote value holder on the server side.TransporterprocessCommand(Transporter remoteTransporter)INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote sessionTransporterrollbackTransaction()Rollback a transaction on the database.TransporterscrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows)Moves the cursor to the given row number in the result setTransporterscrollableCursorAfterLast(Transporter remoteScrollableCursorOid)Moves the cursor to the end of the result set, just after the last row.TransporterscrollableCursorBeforeFirst(Transporter remoteScrollableCursor)Moves the cursor to the front of the result set, just before the first rowTransporterscrollableCursorClose(Transporter remoteScrollableCursorOid)Used for closing scrollable cursor across RMI.TransporterscrollableCursorCurrentIndex(Transporter remoteScrollableCursor)Retrieves the current row index numberTransporterscrollableCursorFirst(Transporter remoteScrollableCursor)Moves the cursor to the first row in the result setTransporterscrollableCursorIsAfterLast(Transporter remoteScrollableCursor)Indicates whether the cursor is after the last row in the result set.TransporterscrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor)Indicates whether the cursor is before the first row in the result set.TransporterscrollableCursorIsFirst(Transporter remoteScrollableCursor)Indicates whether the cursor is on the first row of the result set.TransporterscrollableCursorIsLast(Transporter remoteScrollableCursor)Indicates whether the cursor is on the last row of the result set.TransporterscrollableCursorLast(Transporter remoteScrollableCursor)Moves the cursor to the last row in the result setTransporterscrollableCursorNextObject(Transporter scrollableCursorOid)INTERNAL: Retrieve next object from the scrollable cursorTransporterscrollableCursorPreviousObject(Transporter scrollableCursorOid)INTERNAL: Retrieve previous object from the scrollable cursorTransporterscrollableCursorRelative(Transporter remoteScrollableCursor, int rows)Moves the cursor to the given row number in the result setTransporterscrollableCursorSize(Transporter cursoredStream)INTERNAL: Return the cursor size
-
-
-
Method Detail
-
processCommand
Transporter processCommand(Transporter remoteTransporter) throws RemoteException
INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote session- Parameters:
remoteTransporter- The Transporter carrying the command to be executed on the remote session- Throws:
RemoteException
-
beginTransaction
Transporter beginTransaction() throws RemoteException
- Throws:
RemoteException
-
beginEarlyTransaction
Transporter beginEarlyTransaction() throws RemoteException
- Throws:
RemoteException
-
commitRootUnitOfWork
Transporter commitRootUnitOfWork(Transporter remoteUnitOfWork) throws RemoteException
To commit remote unit of work on the server side.- Throws:
RemoteException
-
commitTransaction
Transporter commitTransaction() throws RemoteException
Commit a transaction on the database.- Throws:
RemoteException
-
cursoredStreamClose
Transporter cursoredStreamClose(Transporter remoetCursoredStreamID) throws RemoteException
Used for closing cursored streams across RMI.- Throws:
RemoteException
-
cursoredStreamNextPage
Transporter cursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize) throws RemoteException
Retrieve next page size of objects from the remote cursored stream- Throws:
RemoteException
-
cursoredStreamSize
Transporter cursoredStreamSize(Transporter cursoredStream) throws RemoteException
INTERNAL: Return the cursored stream size- Throws:
RemoteException
-
cursorSelectObjects
Transporter cursorSelectObjects(Transporter policy) throws RemoteException
To get remote cursor stub in a transporter- Throws:
RemoteException
-
executeNamedQuery
Transporter executeNamedQuery(Transporter name, Transporter theClass, Transporter arguments) throws RemoteException
A remote query after serialization is executed locally.- Throws:
RemoteException
-
executeQuery
Transporter executeQuery(Transporter query) throws RemoteException
To execute remote query on the server side.- Throws:
RemoteException
-
getDefaultReadOnlyClasses
Transporter getDefaultReadOnlyClasses() throws RemoteException
To get the default read-only classes from the server side.- Throws:
RemoteException
-
getDescriptor
Transporter getDescriptor(Transporter domainClass) throws RemoteException
To get descriptor from the server side- Throws:
RemoteException
-
getDescriptorForAlias
Transporter getDescriptorForAlias(Transporter alias) throws RemoteException
To get descriptor from the server side- Throws:
RemoteException
-
getLogin
Transporter getLogin() throws RemoteException
To get login from the server side- Throws:
RemoteException
-
getSequenceNumberNamed
Transporter getSequenceNumberNamed(Transporter remoteFunctionCall) throws RemoteException
INTERNAL: Get the value returned by remote function call- Throws:
RemoteException
-
initializeIdentityMapsOnServerSession
Transporter initializeIdentityMapsOnServerSession() throws RemoteException
- Throws:
RemoteException
-
instantiateRemoteValueHolderOnServer
Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder) throws RemoteException
To instantiate remote value holder on the server side.- Throws:
RemoteException
-
rollbackTransaction
Transporter rollbackTransaction() throws RemoteException
Rollback a transaction on the database.- Throws:
RemoteException
-
scrollableCursorAbsolute
Transporter scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows) throws RemoteException
Moves the cursor to the given row number in the result set- Throws:
RemoteException
-
scrollableCursorAfterLast
Transporter scrollableCursorAfterLast(Transporter remoteScrollableCursorOid) throws RemoteException
Moves the cursor to the end of the result set, just after the last row.- Throws:
RemoteException
-
scrollableCursorBeforeFirst
Transporter scrollableCursorBeforeFirst(Transporter remoteScrollableCursor) throws RemoteException
Moves the cursor to the front of the result set, just before the first row- Throws:
RemoteException
-
scrollableCursorClose
Transporter scrollableCursorClose(Transporter remoteScrollableCursorOid) throws RemoteException
Used for closing scrollable cursor across RMI.- Throws:
RemoteException
-
scrollableCursorCurrentIndex
Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursor) throws RemoteException
Retrieves the current row index number- Throws:
RemoteException
-
scrollableCursorFirst
Transporter scrollableCursorFirst(Transporter remoteScrollableCursor) throws RemoteException
Moves the cursor to the first row in the result set- Throws:
RemoteException
-
scrollableCursorIsAfterLast
Transporter scrollableCursorIsAfterLast(Transporter remoteScrollableCursor) throws RemoteException
Indicates whether the cursor is after the last row in the result set.- Throws:
RemoteException
-
scrollableCursorIsBeforeFirst
Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor) throws RemoteException
Indicates whether the cursor is before the first row in the result set.- Throws:
RemoteException
-
scrollableCursorIsFirst
Transporter scrollableCursorIsFirst(Transporter remoteScrollableCursor) throws RemoteException
Indicates whether the cursor is on the first row of the result set.- Throws:
RemoteException
-
scrollableCursorIsLast
Transporter scrollableCursorIsLast(Transporter remoteScrollableCursor) throws RemoteException
Indicates whether the cursor is on the last row of the result set.- Throws:
RemoteException
-
scrollableCursorLast
Transporter scrollableCursorLast(Transporter remoteScrollableCursor) throws RemoteException
Moves the cursor to the last row in the result set- Throws:
RemoteException
-
scrollableCursorNextObject
Transporter scrollableCursorNextObject(Transporter scrollableCursorOid) throws RemoteException
INTERNAL: Retrieve next object from the scrollable cursor- Throws:
RemoteException
-
scrollableCursorPreviousObject
Transporter scrollableCursorPreviousObject(Transporter scrollableCursorOid) throws RemoteException
INTERNAL: Retrieve previous object from the scrollable cursor- Throws:
RemoteException
-
scrollableCursorRelative
Transporter scrollableCursorRelative(Transporter remoteScrollableCursor, int rows) throws RemoteException
Moves the cursor to the given row number in the result set- Throws:
RemoteException
-
scrollableCursorSize
Transporter scrollableCursorSize(Transporter cursoredStream) throws RemoteException
INTERNAL: Return the cursor size- Throws:
RemoteException
-
-