Top Description Methods
org.eclipse.persistence.sessions.remote.rmi

public Interface RMIRemoteSessionController

extends Remote
Known Direct Implementers
org.eclipse.persistence.sessions.remote.rmi.RMIRemoteSessionControllerDispatcher
Imports
java.rmi.*, org.eclipse.persistence.internal.sessions.remote.*

Defines the public methods remote connection can invoke on the remote session controller.

Method Summary

Modifier and TypeMethod and Description
public Transporter
public Transporter
public Transporter
commitRootUnitOfWork(Transporter remoteUnitOfWork)

To commit remote unit of work on the server side.

public Transporter
commitTransaction()

Commit a transaction on the database.

public Transporter
cursoredStreamClose(Transporter remoetCursoredStreamID)

Used for closing cursored streams across RMI.

public Transporter
cursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize)

Retrieve next page size of objects from the remote cursored stream

public Transporter
cursoredStreamSize(Transporter cursoredStream)

INTERNAL: Return the cursored stream size

public Transporter
cursorSelectObjects(Transporter policy)

To get remote cursor stub in a transporter

public Transporter
executeNamedQuery(Transporter name, Transporter theClass, Transporter arguments)

A remote query after serialization is executed locally.

public Transporter
executeQuery(Transporter query)

To execute remote query on the server side.

public Transporter
getDefaultReadOnlyClasses()

To get the default read-only classes from the server side.

public Transporter
getDescriptor(Transporter domainClass)

To get descriptor from the server side

public Transporter
getDescriptorForAlias(Transporter alias)

To get descriptor from the server side

public Transporter
getLogin()

To get login from the server side

public Transporter
getSequenceNumberNamed(Transporter remoteFunctionCall)

INTERNAL: Get the value returned by remote function call

public Transporter
public Transporter
instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder)

To instantiate remote value holder on the server side.

public Transporter
processCommand(Transporter
The Transporter carrying the command to be executed on the remote session
remoteTransporter
)

INTERNAL: This method is intended to be used by by sessions that wish to execute a command on a remote session

public Transporter
rollbackTransaction()

Rollback a transaction on the database.

public Transporter
scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows)

Moves the cursor to the given row number in the result set

public Transporter
scrollableCursorAfterLast(Transporter remoteScrollableCursorOid)

Moves the cursor to the end of the result set, just after the last row.

public Transporter
scrollableCursorBeforeFirst(Transporter remoteScrollableCursor)

Moves the cursor to the front of the result set, just before the first row

public Transporter
scrollableCursorClose(Transporter remoteScrollableCursorOid)

Used for closing scrollable cursor across RMI.

public Transporter
scrollableCursorCurrentIndex(Transporter remoteScrollableCursor)

Retrieves the current row index number

public Transporter
scrollableCursorFirst(Transporter remoteScrollableCursor)

Moves the cursor to the first row in the result set

public Transporter
scrollableCursorIsAfterLast(Transporter remoteScrollableCursor)

Indicates whether the cursor is after the last row in the result set.

public Transporter
scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor)

Indicates whether the cursor is before the first row in the result set.

public Transporter
scrollableCursorIsFirst(Transporter remoteScrollableCursor)

Indicates whether the cursor is on the first row of the result set.

public Transporter
scrollableCursorIsLast(Transporter remoteScrollableCursor)

Indicates whether the cursor is on the last row of the result set.

public Transporter
scrollableCursorLast(Transporter remoteScrollableCursor)

Moves the cursor to the last row in the result set

public Transporter
scrollableCursorNextObject(Transporter scrollableCursorOid)

INTERNAL: Retrieve next object from the scrollable cursor

public Transporter
scrollableCursorPreviousObject(Transporter scrollableCursorOid)

INTERNAL: Retrieve previous object from the scrollable cursor

public Transporter
scrollableCursorRelative(Transporter remoteScrollableCursor, int rows)

Moves the cursor to the given row number in the result set

public Transporter
scrollableCursorSize(Transporter cursoredStream)

INTERNAL: Return the cursor size

Method Detail

beginEarlyTransactionback to summary
public Transporter beginEarlyTransaction() throws RemoteException
beginTransactionback to summary
public Transporter beginTransaction() throws RemoteException
commitRootUnitOfWorkback to summary
public Transporter commitRootUnitOfWork(Transporter remoteUnitOfWork) throws RemoteException

To commit remote unit of work on the server side.

commitTransactionback to summary
public Transporter commitTransaction() throws RemoteException

Commit a transaction on the database.

cursoredStreamCloseback to summary
public Transporter cursoredStreamClose(Transporter remoetCursoredStreamID) throws RemoteException

Used for closing cursored streams across RMI.

cursoredStreamNextPageback to summary
public Transporter cursoredStreamNextPage(Transporter remoteCursoredStream, int pageSize) throws RemoteException

Retrieve next page size of objects from the remote cursored stream

cursoredStreamSizeback to summary
public Transporter cursoredStreamSize(Transporter cursoredStream) throws RemoteException

INTERNAL: Return the cursored stream size

cursorSelectObjectsback to summary
public Transporter cursorSelectObjects(Transporter policy) throws RemoteException

To get remote cursor stub in a transporter

executeNamedQueryback to summary
public Transporter executeNamedQuery(Transporter name, Transporter theClass, Transporter arguments) throws RemoteException

A remote query after serialization is executed locally.

executeQueryback to summary
public Transporter executeQuery(Transporter query) throws RemoteException

To execute remote query on the server side.

getDefaultReadOnlyClassesback to summary
public Transporter getDefaultReadOnlyClasses() throws RemoteException

To get the default read-only classes from the server side.

getDescriptorback to summary
public Transporter getDescriptor(Transporter domainClass) throws RemoteException

To get descriptor from the server side

getDescriptorForAliasback to summary
public Transporter getDescriptorForAlias(Transporter alias) throws RemoteException

To get descriptor from the server side

getLoginback to summary
public Transporter getLogin() throws RemoteException

To get login from the server side

getSequenceNumberNamedback to summary
public Transporter getSequenceNumberNamed(Transporter remoteFunctionCall) throws RemoteException

INTERNAL: Get the value returned by remote function call

initializeIdentityMapsOnServerSessionback to summary
public Transporter initializeIdentityMapsOnServerSession() throws RemoteException
instantiateRemoteValueHolderOnServerback to summary
public Transporter instantiateRemoteValueHolderOnServer(Transporter remoteValueHolder) throws RemoteException

To instantiate remote value holder on the server side.

processCommandback to summary
public 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:Transporter

The Transporter carrying the command to be executed on the remote session

rollbackTransactionback to summary
public Transporter rollbackTransaction() throws RemoteException

Rollback a transaction on the database.

scrollableCursorAbsoluteback to summary
public Transporter scrollableCursorAbsolute(Transporter remoteScrollableCursorOid, int rows) throws RemoteException

Moves the cursor to the given row number in the result set

scrollableCursorAfterLastback to summary
public Transporter scrollableCursorAfterLast(Transporter remoteScrollableCursorOid) throws RemoteException

Moves the cursor to the end of the result set, just after the last row.

scrollableCursorBeforeFirstback to summary
public Transporter scrollableCursorBeforeFirst(Transporter remoteScrollableCursor) throws RemoteException

Moves the cursor to the front of the result set, just before the first row

scrollableCursorCloseback to summary
public Transporter scrollableCursorClose(Transporter remoteScrollableCursorOid) throws RemoteException

Used for closing scrollable cursor across RMI.

scrollableCursorCurrentIndexback to summary
public Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursor) throws RemoteException

Retrieves the current row index number

scrollableCursorFirstback to summary
public Transporter scrollableCursorFirst(Transporter remoteScrollableCursor) throws RemoteException

Moves the cursor to the first row in the result set

scrollableCursorIsAfterLastback to summary
public Transporter scrollableCursorIsAfterLast(Transporter remoteScrollableCursor) throws RemoteException

Indicates whether the cursor is after the last row in the result set.

scrollableCursorIsBeforeFirstback to summary
public Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursor) throws RemoteException

Indicates whether the cursor is before the first row in the result set.

scrollableCursorIsFirstback to summary
public Transporter scrollableCursorIsFirst(Transporter remoteScrollableCursor) throws RemoteException

Indicates whether the cursor is on the first row of the result set.

scrollableCursorIsLastback to summary
public Transporter scrollableCursorIsLast(Transporter remoteScrollableCursor) throws RemoteException

Indicates whether the cursor is on the last row of the result set.

scrollableCursorLastback to summary
public Transporter scrollableCursorLast(Transporter remoteScrollableCursor) throws RemoteException

Moves the cursor to the last row in the result set

scrollableCursorNextObjectback to summary
public Transporter scrollableCursorNextObject(Transporter scrollableCursorOid) throws RemoteException

INTERNAL: Retrieve next object from the scrollable cursor

scrollableCursorPreviousObjectback to summary
public Transporter scrollableCursorPreviousObject(Transporter scrollableCursorOid) throws RemoteException

INTERNAL: Retrieve previous object from the scrollable cursor

scrollableCursorRelativeback to summary
public Transporter scrollableCursorRelative(Transporter remoteScrollableCursor, int rows) throws RemoteException

Moves the cursor to the given row number in the result set

scrollableCursorSizeback to summary
public Transporter scrollableCursorSize(Transporter cursoredStream) throws RemoteException

INTERNAL: Return the cursor size