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 TypeMethodDescriptionorg.eclipse.persistence.internal.sessions.remote.Transporter
org.eclipse.persistence.internal.sessions.remote.Transporter
org.eclipse.persistence.internal.sessions.remote.Transporter
commitRootUnitOfWork
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteUnitOfWork) To commit remote unit of work on the server side.org.eclipse.persistence.internal.sessions.remote.Transporter
Commit a transaction on the database.org.eclipse.persistence.internal.sessions.remote.Transporter
cursoredStreamClose
(org.eclipse.persistence.internal.sessions.remote.Transporter remoetCursoredStreamID) Used for closing cursored streams across RMI.org.eclipse.persistence.internal.sessions.remote.Transporter
cursoredStreamNextPage
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStream, int pageSize) Retrieve next page size of objects from the remote cursored streamorg.eclipse.persistence.internal.sessions.remote.Transporter
cursoredStreamSize
(org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStream) INTERNAL: Return the cursored stream sizeorg.eclipse.persistence.internal.sessions.remote.Transporter
cursorSelectObjects
(org.eclipse.persistence.internal.sessions.remote.Transporter policy) To get remote cursor stub in a transporterorg.eclipse.persistence.internal.sessions.remote.Transporter
executeNamedQuery
(org.eclipse.persistence.internal.sessions.remote.Transporter name, org.eclipse.persistence.internal.sessions.remote.Transporter theClass, org.eclipse.persistence.internal.sessions.remote.Transporter arguments) A remote query after serialization is executed locally.org.eclipse.persistence.internal.sessions.remote.Transporter
executeQuery
(org.eclipse.persistence.internal.sessions.remote.Transporter query) To execute remote query on the server side.org.eclipse.persistence.internal.sessions.remote.Transporter
To get the default read-only classes from the server side.org.eclipse.persistence.internal.sessions.remote.Transporter
getDescriptor
(org.eclipse.persistence.internal.sessions.remote.Transporter domainClass) To get descriptor from the server sideorg.eclipse.persistence.internal.sessions.remote.Transporter
getDescriptorForAlias
(org.eclipse.persistence.internal.sessions.remote.Transporter alias) To get descriptor from the server sideorg.eclipse.persistence.internal.sessions.remote.Transporter
getLogin()
To get login from the server sideorg.eclipse.persistence.internal.sessions.remote.Transporter
getSequenceNumberNamed
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteFunctionCall) INTERNAL: Get the value returned by remote function callorg.eclipse.persistence.internal.sessions.remote.Transporter
org.eclipse.persistence.internal.sessions.remote.Transporter
instantiateRemoteValueHolderOnServer
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteValueHolder) To instantiate remote value holder on the server side.org.eclipse.persistence.internal.sessions.remote.Transporter
processCommand
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteTransporter) INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote sessionorg.eclipse.persistence.internal.sessions.remote.Transporter
Rollback a transaction on the database.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorAbsolute
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid, int rows) Moves the cursor to the given row number in the result setorg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorAfterLast
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid) Moves the cursor to the end of the result set, just after the last row.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorBeforeFirst
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Moves the cursor to the front of the result set, just before the first roworg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorClose
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid) Used for closing scrollable cursor across RMI.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorCurrentIndex
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Retrieves the current row index numberorg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorFirst
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Moves the cursor to the first row in the result setorg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorIsAfterLast
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Indicates whether the cursor is after the last row in the result set.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorIsBeforeFirst
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Indicates whether the cursor is before the first row in the result set.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorIsFirst
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Indicates whether the cursor is on the first row of the result set.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorIsLast
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Indicates whether the cursor is on the last row of the result set.org.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorLast
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) Moves the cursor to the last row in the result setorg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorNextObject
(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid) INTERNAL: Retrieve next object from the scrollable cursororg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorPreviousObject
(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid) INTERNAL: Retrieve previous object from the scrollable cursororg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorRelative
(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor, int rows) Moves the cursor to the given row number in the result setorg.eclipse.persistence.internal.sessions.remote.Transporter
scrollableCursorSize
(org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStream) INTERNAL: Return the cursor size
-
Method Details
-
processCommand
org.eclipse.persistence.internal.sessions.remote.Transporter processCommand(org.eclipse.persistence.internal.sessions.remote.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
org.eclipse.persistence.internal.sessions.remote.Transporter beginTransaction() throws RemoteException- Throws:
RemoteException
-
beginEarlyTransaction
org.eclipse.persistence.internal.sessions.remote.Transporter beginEarlyTransaction() throws RemoteException- Throws:
RemoteException
-
commitRootUnitOfWork
org.eclipse.persistence.internal.sessions.remote.Transporter commitRootUnitOfWork(org.eclipse.persistence.internal.sessions.remote.Transporter remoteUnitOfWork) throws RemoteException To commit remote unit of work on the server side.- Throws:
RemoteException
-
commitTransaction
org.eclipse.persistence.internal.sessions.remote.Transporter commitTransaction() throws RemoteExceptionCommit a transaction on the database.- Throws:
RemoteException
-
cursoredStreamClose
org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamClose(org.eclipse.persistence.internal.sessions.remote.Transporter remoetCursoredStreamID) throws RemoteException Used for closing cursored streams across RMI.- Throws:
RemoteException
-
cursoredStreamNextPage
org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamNextPage(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStream, int pageSize) throws RemoteException Retrieve next page size of objects from the remote cursored stream- Throws:
RemoteException
-
cursoredStreamSize
org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamSize(org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStream) throws RemoteException INTERNAL: Return the cursored stream size- Throws:
RemoteException
-
cursorSelectObjects
org.eclipse.persistence.internal.sessions.remote.Transporter cursorSelectObjects(org.eclipse.persistence.internal.sessions.remote.Transporter policy) throws RemoteException To get remote cursor stub in a transporter- Throws:
RemoteException
-
executeNamedQuery
org.eclipse.persistence.internal.sessions.remote.Transporter executeNamedQuery(org.eclipse.persistence.internal.sessions.remote.Transporter name, org.eclipse.persistence.internal.sessions.remote.Transporter theClass, org.eclipse.persistence.internal.sessions.remote.Transporter arguments) throws RemoteException A remote query after serialization is executed locally.- Throws:
RemoteException
-
executeQuery
org.eclipse.persistence.internal.sessions.remote.Transporter executeQuery(org.eclipse.persistence.internal.sessions.remote.Transporter query) throws RemoteException To execute remote query on the server side.- Throws:
RemoteException
-
getDefaultReadOnlyClasses
org.eclipse.persistence.internal.sessions.remote.Transporter getDefaultReadOnlyClasses() throws RemoteExceptionTo get the default read-only classes from the server side.- Throws:
RemoteException
-
getDescriptor
org.eclipse.persistence.internal.sessions.remote.Transporter getDescriptor(org.eclipse.persistence.internal.sessions.remote.Transporter domainClass) throws RemoteException To get descriptor from the server side- Throws:
RemoteException
-
getDescriptorForAlias
org.eclipse.persistence.internal.sessions.remote.Transporter getDescriptorForAlias(org.eclipse.persistence.internal.sessions.remote.Transporter alias) throws RemoteException To get descriptor from the server side- Throws:
RemoteException
-
getLogin
To get login from the server side- Throws:
RemoteException
-
getSequenceNumberNamed
org.eclipse.persistence.internal.sessions.remote.Transporter getSequenceNumberNamed(org.eclipse.persistence.internal.sessions.remote.Transporter remoteFunctionCall) throws RemoteException INTERNAL: Get the value returned by remote function call- Throws:
RemoteException
-
initializeIdentityMapsOnServerSession
org.eclipse.persistence.internal.sessions.remote.Transporter initializeIdentityMapsOnServerSession() throws RemoteException- Throws:
RemoteException
-
instantiateRemoteValueHolderOnServer
org.eclipse.persistence.internal.sessions.remote.Transporter instantiateRemoteValueHolderOnServer(org.eclipse.persistence.internal.sessions.remote.Transporter remoteValueHolder) throws RemoteException To instantiate remote value holder on the server side.- Throws:
RemoteException
-
rollbackTransaction
org.eclipse.persistence.internal.sessions.remote.Transporter rollbackTransaction() throws RemoteExceptionRollback a transaction on the database.- Throws:
RemoteException
-
scrollableCursorAbsolute
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAbsolute(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid, int rows) throws RemoteException Moves the cursor to the given row number in the result set- Throws:
RemoteException
-
scrollableCursorAfterLast
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAfterLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid) throws RemoteException Moves the cursor to the end of the result set, just after the last row.- Throws:
RemoteException
-
scrollableCursorBeforeFirst
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorBeforeFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Moves the cursor to the front of the result set, just before the first row- Throws:
RemoteException
-
scrollableCursorClose
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorClose(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid) throws RemoteException Used for closing scrollable cursor across RMI.- Throws:
RemoteException
-
scrollableCursorCurrentIndex
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorCurrentIndex(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Retrieves the current row index number- Throws:
RemoteException
-
scrollableCursorFirst
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Moves the cursor to the first row in the result set- Throws:
RemoteException
-
scrollableCursorIsAfterLast
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsAfterLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Indicates whether the cursor is after the last row in the result set.- Throws:
RemoteException
-
scrollableCursorIsBeforeFirst
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsBeforeFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Indicates whether the cursor is before the first row in the result set.- Throws:
RemoteException
-
scrollableCursorIsFirst
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Indicates whether the cursor is on the first row of the result set.- Throws:
RemoteException
-
scrollableCursorIsLast
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Indicates whether the cursor is on the last row of the result set.- Throws:
RemoteException
-
scrollableCursorLast
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor) throws RemoteException Moves the cursor to the last row in the result set- Throws:
RemoteException
-
scrollableCursorNextObject
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorNextObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid) throws RemoteException INTERNAL: Retrieve next object from the scrollable cursor- Throws:
RemoteException
-
scrollableCursorPreviousObject
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorPreviousObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid) throws RemoteException INTERNAL: Retrieve previous object from the scrollable cursor- Throws:
RemoteException
-
scrollableCursorRelative
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorRelative(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor, int rows) throws RemoteException Moves the cursor to the given row number in the result set- Throws:
RemoteException
-
scrollableCursorSize
org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorSize(org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStream) throws RemoteException INTERNAL: Return the cursor size- Throws:
RemoteException
-