public class RMIRemoteSessionControllerDispatcher extends javax.rmi.PortableRemoteObject implements RMIRemoteSessionController
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.persistence.internal.sessions.remote.RemoteSessionController |
controller
Store the real controller.
|
Constructor and Description |
---|
RMIRemoteSessionControllerDispatcher(org.eclipse.persistence.internal.sessions.AbstractSession session) |
RMIRemoteSessionControllerDispatcher(Session session) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.persistence.internal.sessions.remote.Transporter |
beginEarlyTransaction()
Begin an early unit of work transaction, all further queries must be isolated.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
beginTransaction()
Begin a transaction on the database.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
commitRootUnitOfWork(org.eclipse.persistence.internal.sessions.remote.Transporter remoteUnitOfWork)
Remote unit of work after serialization is commited locally.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
commitTransaction()
Commit a transaction on the database.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
cursoredStreamClose(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStreamID)
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 stream
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
cursoredStreamSize(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStreamOid)
Return the cursored stream size
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
cursorSelectObjects(org.eclipse.persistence.internal.sessions.remote.Transporter remoteTransporter)
Returns a remote cursor stub in a transporter
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
executeNamedQuery(org.eclipse.persistence.internal.sessions.remote.Transporter nameTransporter,
org.eclipse.persistence.internal.sessions.remote.Transporter classTransporter,
org.eclipse.persistence.internal.sessions.remote.Transporter argumentsTransporter)
A remote query after serialization is executed locally.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
executeQuery(org.eclipse.persistence.internal.sessions.remote.Transporter query)
A remote query after serialization is executed locally.
|
protected org.eclipse.persistence.internal.sessions.remote.RemoteSessionController |
getController()
Return the controller.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
getDefaultReadOnlyClasses()
Get the default read-only classes
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
getDescriptor(org.eclipse.persistence.internal.sessions.remote.Transporter theClass)
Extract descriptor from the session
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
getDescriptorForAlias(org.eclipse.persistence.internal.sessions.remote.Transporter alias)
Extract descriptor from the session
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
getLogin()
Get the associated session login.
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
getSequenceNumberNamed(org.eclipse.persistence.internal.sessions.remote.Transporter remoteFunctionCall)
INTERNAL:
Get the value returned by remote function call
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
initializeIdentityMapsOnServerSession() |
org.eclipse.persistence.internal.sessions.remote.Transporter |
instantiateRemoteValueHolderOnServer(org.eclipse.persistence.internal.sessions.remote.Transporter remoteValueHolder)
The corresponding original value holder is instantiated.
|
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 session
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
rollbackTransaction()
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 set
|
org.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 row
|
org.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 number
|
org.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 set
|
org.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 set
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
scrollableCursorNextObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid)
Retrieve next object from the scrollable cursor
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
scrollableCursorPreviousObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid)
Retrieve previous object from the scrollable cursor
|
org.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 set
|
org.eclipse.persistence.internal.sessions.remote.Transporter |
scrollableCursorSize(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursorOid)
Return the cursor size
|
protected void |
setController(org.eclipse.persistence.internal.sessions.remote.RemoteSessionController controller)
Set the controller.
|
protected org.eclipse.persistence.internal.sessions.remote.RemoteSessionController controller
public RMIRemoteSessionControllerDispatcher(org.eclipse.persistence.internal.sessions.AbstractSession session) throws java.rmi.RemoteException
java.rmi.RemoteException
public RMIRemoteSessionControllerDispatcher(Session session) throws java.rmi.RemoteException
java.rmi.RemoteException
public org.eclipse.persistence.internal.sessions.remote.Transporter processCommand(org.eclipse.persistence.internal.sessions.remote.Transporter remoteTransporter)
processCommand
in interface RMIRemoteSessionController
remoteTransporter
- The Transporter carrying the command to be executed on the remote sessionpublic org.eclipse.persistence.internal.sessions.remote.Transporter beginEarlyTransaction()
beginEarlyTransaction
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter beginTransaction()
beginTransaction
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter commitRootUnitOfWork(org.eclipse.persistence.internal.sessions.remote.Transporter remoteUnitOfWork)
commitRootUnitOfWork
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter commitTransaction()
commitTransaction
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamClose(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStreamID)
cursoredStreamClose
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamNextPage(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStream, int pageSize)
cursoredStreamNextPage
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter cursoredStreamSize(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursoredStreamOid)
cursoredStreamSize
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter cursorSelectObjects(org.eclipse.persistence.internal.sessions.remote.Transporter remoteTransporter)
cursorSelectObjects
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter executeNamedQuery(org.eclipse.persistence.internal.sessions.remote.Transporter nameTransporter, org.eclipse.persistence.internal.sessions.remote.Transporter classTransporter, org.eclipse.persistence.internal.sessions.remote.Transporter argumentsTransporter)
executeNamedQuery
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter executeQuery(org.eclipse.persistence.internal.sessions.remote.Transporter query)
executeQuery
in interface RMIRemoteSessionController
protected org.eclipse.persistence.internal.sessions.remote.RemoteSessionController getController()
public org.eclipse.persistence.internal.sessions.remote.Transporter getDescriptor(org.eclipse.persistence.internal.sessions.remote.Transporter theClass)
getDescriptor
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter getDescriptorForAlias(org.eclipse.persistence.internal.sessions.remote.Transporter alias)
getDescriptorForAlias
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter getDefaultReadOnlyClasses()
getDefaultReadOnlyClasses
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter getLogin()
getLogin
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter getSequenceNumberNamed(org.eclipse.persistence.internal.sessions.remote.Transporter remoteFunctionCall)
getSequenceNumberNamed
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter initializeIdentityMapsOnServerSession()
initializeIdentityMapsOnServerSession
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter instantiateRemoteValueHolderOnServer(org.eclipse.persistence.internal.sessions.remote.Transporter remoteValueHolder)
instantiateRemoteValueHolderOnServer
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter rollbackTransaction()
rollbackTransaction
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAbsolute(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid, int rows)
scrollableCursorAbsolute
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorAfterLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid)
scrollableCursorAfterLast
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorBeforeFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorBeforeFirst
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorClose(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursorOid)
scrollableCursorClose
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorCurrentIndex(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorCurrentIndex
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorFirst
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsAfterLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorIsAfterLast
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsBeforeFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorIsBeforeFirst
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsFirst(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorIsFirst
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorIsLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorIsLast
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorLast(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor)
scrollableCursorLast
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorNextObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid)
scrollableCursorNextObject
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorPreviousObject(org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorOid)
scrollableCursorPreviousObject
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorRelative(org.eclipse.persistence.internal.sessions.remote.Transporter remoteScrollableCursor, int rows)
scrollableCursorRelative
in interface RMIRemoteSessionController
public org.eclipse.persistence.internal.sessions.remote.Transporter scrollableCursorSize(org.eclipse.persistence.internal.sessions.remote.Transporter remoteCursorOid)
scrollableCursorSize
in interface RMIRemoteSessionController
protected void setController(org.eclipse.persistence.internal.sessions.remote.RemoteSessionController controller)