| Modifier and Type | Field and Description |
|---|---|
| protected String | serviceName
This attribute is used to provide a globally unique identifier for this connection. |
| protected DistributedSession | session
Back reference to owning session. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public abstract void | |
| public abstract RemoteUnitOfWork | |
| public abstract void | |
| public abstract Session | |
| public abstract void | |
| public abstract Vector | cursoredStreamNextPage(RemoteCursoredStream remoteCursoredStream, ReadQuery query, DistributedSession session, int pageSize)
Retrieve next page size of objects from the remote cursored stream |
| public abstract int | |
| public abstract RemoteCursoredStream | cursorSelectObjects(CursoredStreamPolicy policy, DistributedSession session)
Get remote cursor stream. |
| public abstract RemoteScrollableCursor | cursorSelectObjects(ScrollableCursorPolicy policy, DistributedSession session)
Get remote cursor stream. |
| public void | fixObjectReferences(Transporter remoteCursoredStream, ObjectLevelReadQuery query, DistributedSession session)
INTERNAL: An object has been serialized from the server to the remote client. |
| public abstract Vector | |
| public abstract ClassDescriptor | |
| public abstract ClassDescriptor | |
| public abstract Login | |
| public abstract Object | |
| public String | Returns: java.lang.String the nameADVANCED: This method is used to get the globally unique identifier for this connection. |
| public DistributedSession | |
| public void | |
| public abstract void | |
| public abstract Transporter | instantiateRemoteValueHolderOnServer(RemoteValueHolder<T> remoteValueHolder)
Instantiated remote value holder. |
| public boolean | |
| public abstract void | processCommand(RemoteCommand
Contains a command that will be executed on the remote session remoteCommand)ADVANCED: This method will send the command to the remote session for processing |
| public void | |
| public abstract Transporter | |
| public abstract Transporter | remoteExecuteNamedQuery(String name, Class<?> javaClass, Vector<E> arguments)
Execute query remotely. |
| public abstract void | |
| public abstract boolean | scrollableCursorAbsolute(ObjID remoteScrollableCursorOid, int rows)
Moves the cursor to the given row number in the result set |
| public abstract void | scrollableCursorAfterLast(ObjID remoteScrollableCursorOid)
Moves the cursor to the end of the result set, just after the last row. |
| public abstract void | scrollableCursorBeforeFirst(ObjID remoteScrollableCursorOid)
Moves the cursor to the front of the result set, just before the first row |
| public abstract void | |
| public abstract int | |
| public abstract boolean | scrollableCursorFirst(ObjID remoteScrollableCursorOid)
Moves the cursor to the first row in the result set |
| public abstract boolean | scrollableCursorIsAfterLast(ObjID remoteScrollableCursorOid)
Indicates whether the cursor is after the last row in the result set. |
| public abstract boolean | scrollableCursorIsBeforeFirst(ObjID remoteScrollableCursorOid)
Indicates whether the cursor is before the first row in the result set. |
| public abstract boolean | scrollableCursorIsFirst(ObjID remoteScrollableCursorOid)
Indicates whether the cursor is on the first row of the result set. |
| public abstract boolean | scrollableCursorIsLast(ObjID remoteScrollableCursorOid)
Indicates whether the cursor is on the last row of the result set. |
| public abstract boolean | scrollableCursorLast(ObjID remoteScrollableCursorOid)
Moves the cursor to the last row in the result set |
| public abstract Object | scrollableCursorNextObject(ObjID remoteScrollableCursorOid, ReadQuery query, DistributedSession session)
Retrieve next object from the remote scrollable cursor |
| public abstract Object | scrollableCursorPreviousObject(ObjID remoteScrollableCursorOid, ReadQuery query, DistributedSession session)
Retrieve previous object from the remote scrollable cursor |
| public abstract boolean | scrollableCursorRelative(ObjID remoteScrollableCursorOid, int rows)
Moves the cursor a relative number of rows, either positive or negative. |
| public abstract int | |
| public void | setServiceName(String
java.lang.String newServiceName)ADVANCED: This method is used to set the globally unique identifier for this connection. |
| public void |
| serviceName | back to summary |
|---|---|
| protected String serviceName This attribute is used to provide a globally unique identifier for this connection. It should be the same value as the JNDI context or the RMIRegistry context. | |
| session | back to summary |
|---|---|
| protected DistributedSession session Back reference to owning session. | |
| RemoteConnection | back to summary |
|---|---|
| public RemoteConnection() | |
| beginEarlyTransaction | back to summary |
|---|---|
| public abstract void beginEarlyTransaction() Begin an early unit of work transaction. | |
| beginTransaction | back to summary |
|---|---|
| public abstract void beginTransaction() Begin a transaction on the database. | |
| commitRootUnitOfWork | back to summary |
|---|---|
| public abstract RemoteUnitOfWork commitRootUnitOfWork(RemoteUnitOfWork remoteUnitOfWork) Commit remote unit of work | |
| commitTransaction | back to summary |
|---|---|
| public abstract void commitTransaction() Commit a transaction on the database. | |
| createRemoteSession | back to summary |
|---|---|
| public abstract Session createRemoteSession() Returns remote client session. | |
| cursoredStreamClose | back to summary |
|---|---|
| public abstract void cursoredStreamClose(ObjID id) Used for closing cursored streams across RMI. | |
| cursoredStreamNextPage | back to summary |
|---|---|
| public abstract Vector Retrieve next page size of objects from the remote cursored stream | |
| cursoredStreamSize | back to summary |
|---|---|
| public abstract int cursoredStreamSize(ObjID remoteCursoredStreamID) Return the cursored stream size | |
| cursorSelectObjects | back to summary |
|---|---|
| public abstract RemoteCursoredStream cursorSelectObjects(CursoredStreamPolicy policy, DistributedSession session) Get remote cursor stream. | |
| cursorSelectObjects | back to summary |
|---|---|
| public abstract RemoteScrollableCursor cursorSelectObjects(ScrollableCursorPolicy policy, DistributedSession session) Get remote cursor stream. | |
| fixObjectReferences | back to summary |
|---|---|
| public void fixObjectReferences(Transporter remoteCursoredStream, ObjectLevelReadQuery query, DistributedSession session) INTERNAL: An object has been serialized from the server to the remote client. Replace the transient attributes of the remote value holders with client-side objects. Being used for the cursored stream only | |
| getDefaultReadOnlyClasses | back to summary |
|---|---|
| public abstract Vector INTERNAL: Get the read-only classes | |
| getDescriptor | back to summary |
|---|---|
| public abstract ClassDescriptor getDescriptor(Class<?> domainClass) Get descriptor | |
| getDescriptorForAlias | back to summary |
|---|---|
| public abstract ClassDescriptor getDescriptorForAlias(String alias) Get descriptor | |
| getLogin | back to summary |
|---|---|
| public abstract Login getLogin() Return the login informaiton from the server. | |
| getSequenceNumberNamed | back to summary |
|---|---|
| public abstract Object getSequenceNumberNamed(Object remoteFunctionCall) INTERNAL: Perform remote function call | |
| getServiceName | back to summary |
|---|---|
| public String getServiceName() ADVANCED: This method is used to get the globally unique identifier for this connection. This identifier should be the same as the JNDI context the service was stored under.
| |
| getSession | back to summary |
|---|---|
| public DistributedSession getSession() | |
| initialize | back to summary |
|---|---|
| public void initialize(DistributedSession session) Allow the connection to initialize an setting in the session. | |
| initializeIdentityMapsOnServerSession | back to summary |
|---|---|
| public abstract void initializeIdentityMapsOnServerSession() | |
| instantiateRemoteValueHolderOnServer | back to summary |
|---|---|
| public abstract Transporter instantiateRemoteValueHolderOnServer(RemoteValueHolder<T> remoteValueHolder) Instantiated remote value holder. | |
| isConnected | back to summary |
|---|---|
| public boolean isConnected() | |
| processCommand | back to summary |
|---|---|
| public abstract void processCommand(RemoteCommand remoteCommand) ADVANCED: This method will send the command to the remote session for processing
| |
| release | back to summary |
|---|---|
| public void release() PUBLIC: Release the connection resource. | |
| remoteExecute | back to summary |
|---|---|
| public abstract Transporter remoteExecute(DatabaseQuery query) Execute query remotely. | |
| remoteExecuteNamedQuery | back to summary |
|---|---|
| public abstract Transporter remoteExecuteNamedQuery(String name, Class<?> javaClass, Vector<E> arguments) Execute query remotely. | |
| rollbackTransaction | back to summary |
|---|---|
| public abstract void rollbackTransaction() Rollback a transaction on the database. | |
| scrollableCursorAbsolute | back to summary |
|---|---|
| public abstract boolean scrollableCursorAbsolute(ObjID remoteScrollableCursorOid, int rows) Moves the cursor to the given row number in the result set | |
| scrollableCursorAfterLast | back to summary |
|---|---|
| public abstract void scrollableCursorAfterLast(ObjID remoteScrollableCursorOid) Moves the cursor to the end of the result set, just after the last row. | |
| scrollableCursorBeforeFirst | back to summary |
|---|---|
| public abstract void scrollableCursorBeforeFirst(ObjID remoteScrollableCursorOid) Moves the cursor to the front of the result set, just before the first row | |
| scrollableCursorClose | back to summary |
|---|---|
| public abstract void scrollableCursorClose(ObjID remoteScrollableCursorOid) Used for closing scrolable cursor across RMI. | |
| scrollableCursorCurrentIndex | back to summary |
|---|---|
| public abstract int scrollableCursorCurrentIndex(ObjID remoteScrollableCursorOid) Retrieves the current row index number | |
| scrollableCursorFirst | back to summary |
|---|---|
| public abstract boolean scrollableCursorFirst(ObjID remoteScrollableCursorOid) Moves the cursor to the first row in the result set | |
| scrollableCursorIsAfterLast | back to summary |
|---|---|
| public abstract boolean scrollableCursorIsAfterLast(ObjID remoteScrollableCursorOid) Indicates whether the cursor is after the last row in the result set. | |
| scrollableCursorIsBeforeFirst | back to summary |
|---|---|
| public abstract boolean scrollableCursorIsBeforeFirst(ObjID remoteScrollableCursorOid) Indicates whether the cursor is before the first row in the result set. | |
| scrollableCursorIsFirst | back to summary |
|---|---|
| public abstract boolean scrollableCursorIsFirst(ObjID remoteScrollableCursorOid) Indicates whether the cursor is on the first row of the result set. | |
| scrollableCursorIsLast | back to summary |
|---|---|
| public abstract boolean scrollableCursorIsLast(ObjID remoteScrollableCursorOid) Indicates whether the cursor is on the last row of the result set. | |
| scrollableCursorLast | back to summary |
|---|---|
| public abstract boolean scrollableCursorLast(ObjID remoteScrollableCursorOid) Moves the cursor to the last row in the result set | |
| scrollableCursorNextObject | back to summary |
|---|---|
| public abstract Object scrollableCursorNextObject(ObjID remoteScrollableCursorOid, ReadQuery query, DistributedSession session) Retrieve next object from the remote scrollable cursor | |
| scrollableCursorPreviousObject | back to summary |
|---|---|
| public abstract Object scrollableCursorPreviousObject(ObjID remoteScrollableCursorOid, ReadQuery query, DistributedSession session) Retrieve previous object from the remote scrollable cursor | |
| scrollableCursorRelative | back to summary |
|---|---|
| public abstract boolean scrollableCursorRelative(ObjID remoteScrollableCursorOid, int rows) Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row | |
| scrollableCursorSize | back to summary |
|---|---|
| public abstract int scrollableCursorSize(ObjID cursorId) Return the scrollable cursor size | |
| setServiceName | back to summary |
|---|---|
| public void setServiceName(String newServiceName) ADVANCED: This method is used to set the globally unique identifier for this connection. This identifier should be the same as the JNDI context the service was stored under.
| |
| setSession | back to summary |
|---|---|
| public void setSession(DistributedSession session) | |