public class RMIRemoteSessionControllerDispatcher extends java.rmi.server.UnicastRemoteObject implements RMIRemoteSessionController
| Constructor and Description |
|---|
RMIRemoteSessionControllerDispatcher(AbstractSession session) |
RMIRemoteSessionControllerDispatcher(Session session) |
| Modifier and Type | Method and Description |
|---|---|
Transporter |
beginEarlyTransaction()
Begin an early unit of work transaction.
|
Transporter |
beginTransaction()
Begin a transaction on the database.
|
Transporter |
commitRootUnitOfWork(Transporter remoteUnitOfWork)
Remote unit of work after serialization is committed locally.
|
Transporter |
commitTransaction()
Commit a transaction on the database.
|
Transporter |
cursoredStreamClose(Transporter remoteCursoredStreamID)
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 remoteCursoredStreamOid)
Return the cursored stream size
|
Transporter |
cursorSelectObjects(Transporter remoteTransporter)
Returns a remote cursor stub in a transporter
|
Transporter |
executeNamedQuery(Transporter nameTransporter,
Transporter classTransporter,
Transporter argumentsTransporter)
A remote query after serialization is executed locally.
|
Transporter |
executeQuery(Transporter query)
A remote query after serialization is executed locally.
|
Transporter |
getDefaultReadOnlyClasses()
Get the default read-only classes
|
Transporter |
getDescriptor(Transporter theClass)
Extract descriptor from the session
|
Transporter |
getDescriptorForAlias(Transporter alias)
Extract descriptor from the session
|
Transporter |
getLogin()
Get the associated session login.
|
Transporter |
getSequenceNumberNamed(Transporter remoteFunctionCall)
INTERNAL:
Get the value returned by remote function call
|
Transporter |
initializeIdentityMapsOnServerSession() |
Transporter |
instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)
The corresponding original value holder is instantiated.
|
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
|
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)
Retrieve next object from the scrollable cursor
|
Transporter |
scrollableCursorPreviousObject(Transporter scrollableCursorOid)
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 remoteCursorOid)
Return the cursor size
|
clone, exportObject, exportObject, exportObject, unexportObjectpublic RMIRemoteSessionControllerDispatcher(AbstractSession session) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic RMIRemoteSessionControllerDispatcher(Session session) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic Transporter processCommand(Transporter remoteTransporter)
processCommand in interface RMIRemoteSessionControllerremoteTransporter - The Transporter carrying the command to be executed on the remote sessionpublic Transporter beginTransaction()
beginTransaction in interface RMIRemoteSessionControllerpublic Transporter beginEarlyTransaction()
beginEarlyTransaction in interface RMIRemoteSessionControllerpublic Transporter commitRootUnitOfWork(Transporter remoteUnitOfWork)
commitRootUnitOfWork in interface RMIRemoteSessionControllerpublic Transporter commitTransaction()
commitTransaction in interface RMIRemoteSessionControllerpublic Transporter cursoredStreamClose(Transporter remoteCursoredStreamID)
cursoredStreamClose in interface RMIRemoteSessionControllerpublic Transporter cursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize)
cursoredStreamNextPage in interface RMIRemoteSessionControllerpublic Transporter cursoredStreamSize(Transporter remoteCursoredStreamOid)
cursoredStreamSize in interface RMIRemoteSessionControllerpublic Transporter cursorSelectObjects(Transporter remoteTransporter)
cursorSelectObjects in interface RMIRemoteSessionControllerpublic Transporter executeNamedQuery(Transporter nameTransporter, Transporter classTransporter, Transporter argumentsTransporter)
executeNamedQuery in interface RMIRemoteSessionControllerpublic Transporter executeQuery(Transporter query)
executeQuery in interface RMIRemoteSessionControllerpublic Transporter getDefaultReadOnlyClasses()
getDefaultReadOnlyClasses in interface RMIRemoteSessionControllerpublic Transporter getDescriptor(Transporter theClass)
getDescriptor in interface RMIRemoteSessionControllerpublic Transporter getDescriptorForAlias(Transporter alias)
getDescriptorForAlias in interface RMIRemoteSessionControllerpublic Transporter getLogin()
getLogin in interface RMIRemoteSessionControllerpublic Transporter getSequenceNumberNamed(Transporter remoteFunctionCall)
getSequenceNumberNamed in interface RMIRemoteSessionControllerpublic Transporter initializeIdentityMapsOnServerSession()
initializeIdentityMapsOnServerSession in interface RMIRemoteSessionControllerpublic Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)
instantiateRemoteValueHolderOnServer in interface RMIRemoteSessionControllerpublic Transporter rollbackTransaction()
rollbackTransaction in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows)
scrollableCursorAbsolute in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorAfterLast(Transporter remoteScrollableCursorOid)
scrollableCursorAfterLast in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorBeforeFirst(Transporter remoteScrollableCursor)
scrollableCursorBeforeFirst in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorClose(Transporter remoteScrollableCursorOid)
scrollableCursorClose in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursor)
scrollableCursorCurrentIndex in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorFirst(Transporter remoteScrollableCursor)
scrollableCursorFirst in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorIsAfterLast(Transporter remoteScrollableCursor)
scrollableCursorIsAfterLast in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor)
scrollableCursorIsBeforeFirst in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorIsFirst(Transporter remoteScrollableCursor)
scrollableCursorIsFirst in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorIsLast(Transporter remoteScrollableCursor)
scrollableCursorIsLast in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorLast(Transporter remoteScrollableCursor)
scrollableCursorLast in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorNextObject(Transporter scrollableCursorOid)
scrollableCursorNextObject in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorPreviousObject(Transporter scrollableCursorOid)
scrollableCursorPreviousObject in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorRelative(Transporter remoteScrollableCursor, int rows)
scrollableCursorRelative in interface RMIRemoteSessionControllerpublic Transporter scrollableCursorSize(Transporter remoteCursorOid)
scrollableCursorSize in interface RMIRemoteSessionControllerEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference