Module org.eclipse.persistence.core
Interface RMIRemoteSessionController
- All Superinterfaces:
Remote
- All Known Implementing Classes:
RMIRemoteSessionControllerDispatcher
Defines the public methods remote connection can invoke on the remote session controller.
-
Method Summary
Modifier and TypeMethodDescriptioncommitRootUnitOfWork
(Transporter remoteUnitOfWork) To commit remote unit of work on the server side.Commit a transaction on the database.cursoredStreamClose
(Transporter remoetCursoredStreamID) Used for closing cursored streams across RMI.cursoredStreamNextPage
(Transporter remoteCursoredStream, int pageSize) Retrieve next page size of objects from the remote cursored streamcursoredStreamSize
(Transporter cursoredStream) INTERNAL: Return the cursored stream sizecursorSelectObjects
(Transporter policy) To get remote cursor stub in a transporterexecuteNamedQuery
(Transporter name, Transporter theClass, Transporter arguments) A remote query after serialization is executed locally.executeQuery
(Transporter query) To execute remote query on the server side.To get the default read-only classes from the server side.getDescriptor
(Transporter domainClass) To get descriptor from the server sidegetDescriptorForAlias
(Transporter alias) To get descriptor from the server sidegetLogin()
To get login from the server sidegetSequenceNumberNamed
(Transporter remoteFunctionCall) INTERNAL: Get the value returned by remote function callinstantiateRemoteValueHolderOnServer
(Transporter remoteValueHolder) To instantiate remote value holder on the server side.processCommand
(Transporter remoteTransporter) INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote sessionRollback a transaction on the database.scrollableCursorAbsolute
(Transporter remoteScrollableCursorOid, int rows) Moves the cursor to the given row number in the result setscrollableCursorAfterLast
(Transporter remoteScrollableCursorOid) Moves the cursor to the end of the result set, just after the last row.scrollableCursorBeforeFirst
(Transporter remoteScrollableCursor) Moves the cursor to the front of the result set, just before the first rowscrollableCursorClose
(Transporter remoteScrollableCursorOid) Used for closing scrollable cursor across RMI.scrollableCursorCurrentIndex
(Transporter remoteScrollableCursor) Retrieves the current row index numberscrollableCursorFirst
(Transporter remoteScrollableCursor) Moves the cursor to the first row in the result setscrollableCursorIsAfterLast
(Transporter remoteScrollableCursor) Indicates whether the cursor is after the last row in the result set.scrollableCursorIsBeforeFirst
(Transporter remoteScrollableCursor) Indicates whether the cursor is before the first row in the result set.scrollableCursorIsFirst
(Transporter remoteScrollableCursor) Indicates whether the cursor is on the first row of the result set.scrollableCursorIsLast
(Transporter remoteScrollableCursor) Indicates whether the cursor is on the last row of the result set.scrollableCursorLast
(Transporter remoteScrollableCursor) Moves the cursor to the last row in the result setscrollableCursorNextObject
(Transporter scrollableCursorOid) INTERNAL: Retrieve next object from the scrollable cursorscrollableCursorPreviousObject
(Transporter scrollableCursorOid) INTERNAL: Retrieve previous object from the scrollable cursorscrollableCursorRelative
(Transporter remoteScrollableCursor, int rows) Moves the cursor to the given row number in the result setscrollableCursorSize
(Transporter cursoredStream) INTERNAL: Return the cursor size
-
Method Details
-
processCommand
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
- Throws:
RemoteException
-
beginEarlyTransaction
- Throws:
RemoteException
-
commitRootUnitOfWork
To commit remote unit of work on the server side.- Throws:
RemoteException
-
commitTransaction
Commit a transaction on the database.- Throws:
RemoteException
-
cursoredStreamClose
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
INTERNAL: Return the cursored stream size- Throws:
RemoteException
-
cursorSelectObjects
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
To execute remote query on the server side.- Throws:
RemoteException
-
getDefaultReadOnlyClasses
To get the default read-only classes from the server side.- Throws:
RemoteException
-
getDescriptor
To get descriptor from the server side- Throws:
RemoteException
-
getDescriptorForAlias
To get descriptor from the server side- Throws:
RemoteException
-
getLogin
To get login from the server side- Throws:
RemoteException
-
getSequenceNumberNamed
INTERNAL: Get the value returned by remote function call- Throws:
RemoteException
-
initializeIdentityMapsOnServerSession
- Throws:
RemoteException
-
instantiateRemoteValueHolderOnServer
Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder) throws RemoteException To instantiate remote value holder on the server side.- Throws:
RemoteException
-
rollbackTransaction
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
Moves the cursor to the end of the result set, just after the last row.- Throws:
RemoteException
-
scrollableCursorBeforeFirst
Moves the cursor to the front of the result set, just before the first row- Throws:
RemoteException
-
scrollableCursorClose
Used for closing scrollable cursor across RMI.- Throws:
RemoteException
-
scrollableCursorCurrentIndex
Retrieves the current row index number- Throws:
RemoteException
-
scrollableCursorFirst
Moves the cursor to the first row in the result set- Throws:
RemoteException
-
scrollableCursorIsAfterLast
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
Indicates whether the cursor is on the first row of the result set.- Throws:
RemoteException
-
scrollableCursorIsLast
Indicates whether the cursor is on the last row of the result set.- Throws:
RemoteException
-
scrollableCursorLast
Moves the cursor to the last row in the result set- Throws:
RemoteException
-
scrollableCursorNextObject
INTERNAL: Retrieve next object from the scrollable cursor- Throws:
RemoteException
-
scrollableCursorPreviousObject
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
INTERNAL: Return the cursor size- Throws:
RemoteException
-