Class CORBARemoteSessionControllerDispatcher
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
org.eclipse.persistence.sessions.remote.corba.sun._CORBARemoteSessionControllerImplBase
org.eclipse.persistence.sessions.remote.corba.sun.CORBARemoteSessionControllerDispatcher
- All Implemented Interfaces:
Serializable
,CORBARemoteSessionController
,CORBARemoteSessionControllerOperations
,org.omg.CORBA.Object
,org.omg.CORBA.portable.IDLEntity
,org.omg.CORBA.portable.InvokeHandler
RemoteSessionController sits between the remote session and the session. Any interaction between these
two classes takes place through this object. As the object extends unicast remote object it listens to
only single remote session during runtime.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionBegin an early unit of work transaction.Begin a transaction on the database.commitRootUnitOfWork
(Transporter remoteUnitOfWork) Remote unit of work after serialization is committed locally.Commit a transaction on the database.cursoredStreamClose
(Transporter remoteCursoredStreamID) Used for closing cursored streams across RMI.cursoredStreamNextPage
(Transporter remoteCursoredStream, int pageSize) Retrieve next page size of objects from the remote cursored streamcursoredStreamSize
(Transporter remoteCursoredStreamOid) Return the cursored stream sizecursorSelectObjects
(Transporter remoteTransporter) Returns a remote cursor stub in a transporterexecuteNamedQuery
(Transporter nameTransporter, Transporter classTransporter, Transporter argumentsTransporter) A remote query after serialization is executed locally.executeQuery
(Transporter query) A remote query after serialization is executed locally.protected RemoteSessionController
Return the controller.Get the default read-only classesgetDescriptor
(Transporter theClass) Extract descriptor from the sessiongetDescriptorForAlias
(Transporter alias) Extract descriptor from the sessiongetLogin()
Get the associated session login.getSequenceNumberNamed
(Transporter remoteFunctionCall) INTERNAL: Get the value returned by remote function callinstantiateRemoteValueHolderOnServer
(Transporter remoteValueHolder) The corresponding original value holder is instantiated.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) Retrieve next object from the scrollable cursorscrollableCursorPreviousObject
(Transporter scrollableCursorOid) Retrieve previous object from the scrollable cursorscrollableCursorRelative
(Transporter remoteScrollableCursor, int rows) Moves the cursor to the given row number in the result setscrollableCursorSize
(Transporter remoteCursorOid) Return the cursor sizeprotected void
setController
(RemoteSessionController controller) Set the controller.Methods inherited from class org.eclipse.persistence.sessions.remote.corba.sun._CORBARemoteSessionControllerImplBase
_ids, _invoke
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
Field Details
-
controller
Store the real controller.
-
-
Constructor Details
-
CORBARemoteSessionControllerDispatcher
-
CORBARemoteSessionControllerDispatcher
-
-
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
-
beginTransaction
Begin a transaction on the database. -
beginEarlyTransaction
Begin an early unit of work transaction. -
commitRootUnitOfWork
Remote unit of work after serialization is committed locally. -
commitTransaction
Commit a transaction on the database. -
cursoredStreamClose
Used for closing cursored streams across RMI. -
cursoredStreamNextPage
Retrieve next page size of objects from the remote cursored stream -
cursoredStreamSize
Return the cursored stream size -
cursorSelectObjects
Returns a remote cursor stub in a transporter -
executeNamedQuery
public Transporter executeNamedQuery(Transporter nameTransporter, Transporter classTransporter, Transporter argumentsTransporter) A remote query after serialization is executed locally. -
executeQuery
A remote query after serialization is executed locally. -
getController
Return the controller. All work is dispatched to the controller. This is required to be protocol independent. -
getDescriptor
Extract descriptor from the session -
getDescriptorForAlias
Extract descriptor from the session -
getDefaultReadOnlyClasses
Get the default read-only classes -
getLogin
Get the associated session login. -
getSequenceNumberNamed
INTERNAL: Get the value returned by remote function call -
initializeIdentityMapsOnServerSession
-
instantiateRemoteValueHolderOnServer
The corresponding original value holder is instantiated. -
rollbackTransaction
Rollback a transaction on the database. -
scrollableCursorAbsolute
Moves the cursor to the given row number in the result set -
scrollableCursorAfterLast
Moves the cursor to the end of the result set, just after the last row. -
scrollableCursorBeforeFirst
Moves the cursor to the front of the result set, just before the first row -
scrollableCursorClose
Used for closing scrollable cursor across RMI. -
scrollableCursorCurrentIndex
Retrieves the current row index number -
scrollableCursorFirst
Moves the cursor to the first row in the result set -
scrollableCursorIsAfterLast
Indicates whether the cursor is after the last row in the result set. -
scrollableCursorIsBeforeFirst
Indicates whether the cursor is before the first row in the result set. -
scrollableCursorIsFirst
Indicates whether the cursor is on the first row of the result set. -
scrollableCursorIsLast
Indicates whether the cursor is on the last row of the result set. -
scrollableCursorLast
Moves the cursor to the last row in the result set -
scrollableCursorNextObject
Retrieve next object from the scrollable cursor -
scrollableCursorPreviousObject
Retrieve previous object from the scrollable cursor -
scrollableCursorRelative
Moves the cursor to the given row number in the result set -
scrollableCursorSize
Return the cursor size -
setController
Set the controller. All work is dispatched to the controller. This is required to be protocol independent.
-