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 Transporter
beginEarlyTransaction()
Transporter
beginTransaction()
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 streamTransporter
cursoredStreamSize(Transporter cursoredStream)
INTERNAL: Return the cursored stream sizeTransporter
cursorSelectObjects(Transporter policy)
To get remote cursor stub in a transporterTransporter
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 sideTransporter
getDescriptorForAlias(Transporter alias)
To get descriptor from the server sideTransporter
getLogin()
To get login from the server sideTransporter
getSequenceNumberNamed(Transporter remoteFunctionCall)
INTERNAL: Get the value returned by remote function callTransporter
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 sessionTransporter
rollbackTransaction()
Rollback a transaction on the database.Transporter
scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows)
Moves the cursor to the given row number in the result setTransporter
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 rowTransporter
scrollableCursorClose(Transporter remoteScrollableCursorOid)
Used for closing scrollable cursor across RMI.Transporter
scrollableCursorCurrentIndex(Transporter remoteScrollableCursor)
Retrieves the current row index numberTransporter
scrollableCursorFirst(Transporter remoteScrollableCursor)
Moves the cursor to the first row in the result setTransporter
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 setTransporter
scrollableCursorNextObject(Transporter scrollableCursorOid)
INTERNAL: Retrieve next object from the scrollable cursorTransporter
scrollableCursorPreviousObject(Transporter scrollableCursorOid)
INTERNAL: Retrieve previous object from the scrollable cursorTransporter
scrollableCursorRelative(Transporter remoteScrollableCursor, int rows)
Moves the cursor to the given row number in the result setTransporter
scrollableCursorSize(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
-
-