| Modifier and Type | Field and Description |
|---|---|
| protected Sequencing | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | RemoteSession(RemoteConnection
remote session requires a remote connection. This must be accessed remotely from the client through RMI or CORBA. remoteConnection)PUBLIC: Creates a RemoteSession. |
| Modifier and Type | Method and Description |
|---|---|
| public Session | acquireHistoricalSession(AsOfClause
Represents a valid snap shot time. clause)Overrides org. Implements org. |
| public RepeatableWriteUnitOfWork | acquireRepeatableWriteUnitOfWork(ReferenceMode referenceMode)
Overrides org. |
| public UnitOfWorkImpl | acquireUnitOfWork()
Implements abstract org. Implements org. |
| public UnitOfWorkImpl | acquireUnitOfWork(ReferenceMode
The reference type the UOW should use internally when
referencing Working clones. Setting this to WEAK means the UOW will use
weak references to reference clones and if the application no longer
references the clone the clone may be garbage collected. If the clone
has uncommitted changes then those changes will be lost. referenceMode)Overrides org. Implements org. |
| public Object | executeQuery(DatabaseQuery query)
Implements abstract org. Implements org. |
| public Login | |
| public Object | getObjectCorrespondingTo(Object serverSideDomainObject, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query)
Implements abstract org. |
| public Object | getObjectsCorrespondingToAll(Object serverSideDomainObjects, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query, ContainerPolicy containerPolicy)
Implements abstract org. |
| public Sequencing | getSequencing()
Overrides org. |
| public void | initializeSequencing()
Overrides org. |
| public Object | instantiateRemoteValueHolderOnServer(RemoteValueHolder<T> remoteValueHolder)
Implements abstract org. |
| public boolean | isRemoteSession()
Overrides org. Implements org. |
| public void | setShouldEnableDistributedIndirectionGarbageCollection(boolean shouldEnableDistributedIndirectionGarbageCollection)
ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. |
| public boolean | shouldEnableDistributedIndirectionGarbageCollection()
ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. |
| sequencing | back to summary |
|---|---|
| protected Sequencing sequencing | |
| shouldEnableDistributedIndirectionGarbageCollection | back to summary |
|---|---|
| protected boolean shouldEnableDistributedIndirectionGarbageCollection | |
| RemoteSession | back to summary |
|---|---|
| public RemoteSession() | |
| RemoteSession | back to summary |
|---|---|
| public RemoteSession(RemoteConnection remoteConnection) PUBLIC: Creates a RemoteSession.
| |
| acquireHistoricalSession | back to summary |
|---|---|
| public Session acquireHistoricalSession(AsOfClause clause) throws ValidationException Overrides org. Implements org. INTERNAL: Acquires a special historical session for reading objects as of a past time.
| |
| acquireRepeatableWriteUnitOfWork | back to summary |
|---|---|
| public RepeatableWriteUnitOfWork acquireRepeatableWriteUnitOfWork(ReferenceMode referenceMode) Overrides org. PUBLIC: Return a repeatable write unit of work for this session. A repeatable write unit of work allows multiple writeChanges (flushes).
| |
| acquireUnitOfWork | back to summary |
|---|---|
| public UnitOfWorkImpl acquireUnitOfWork() Implements abstract org. Implements org. PUBLIC: Return a unit of work for this session. The unit of work is an object level transaction that allows a group of changes to be applied as a unit.
| |
| acquireUnitOfWork | back to summary |
|---|---|
| public UnitOfWorkImpl acquireUnitOfWork(ReferenceMode referenceMode) Overrides org. Implements org. PUBLIC: Return a unit of work for this session. The unit of work is an object level transaction that allows a group of changes to be applied as a unit.
| |
| executeQuery | back to summary |
|---|---|
| public Object executeQuery(DatabaseQuery query) Implements abstract org. Implements org. PUBLIC: Execute the database query.
| |
| getDatasourceLogin | back to summary |
|---|---|
| public Login getDatasourceLogin() Overrides org. Implements org. PUBLIC: Return the login. This must retrieve the login information from the server this first time called. This is useful to be able to do things differently depending on the database platform.
| |
| getObjectCorrespondingTo | back to summary |
|---|---|
| public Object getObjectCorrespondingTo(Object serverSideDomainObject, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query) Implements abstract org. INTERNAL: Return the corresponding objects from the remote session for the objects read from the server.
| |
| getObjectsCorrespondingToAll | back to summary |
|---|---|
| public Object getObjectsCorrespondingToAll(Object serverSideDomainObjects, Map<Object, ObjectDescriptor> objectDescriptors, Map<Object, Object> processedObjects, ObjectLevelReadQuery query, ContainerPolicy containerPolicy) Implements abstract org. INTERNAL: Return the corresponding objects from the remote session for the objects read from the server.
| |
| getSequencing | back to summary |
|---|---|
| public Sequencing getSequencing() Overrides org. INTERNAL: Return the Sequencing object used by the session. Sequences may be provided locally, or remotely.
| |
| initializeSequencing | back to summary |
|---|---|
| public void initializeSequencing() Overrides org. ADVANCED: Creates sequencing object for the session. Sequences may be provided locally, or remotely.
| |
| instantiateRemoteValueHolderOnServer | back to summary |
|---|---|
| public Object instantiateRemoteValueHolderOnServer(RemoteValueHolder<T> remoteValueHolder) Implements abstract org. INTERNAL: This will instantiate value holder on the server.
| |
| isRemoteSession | back to summary |
|---|---|
| public boolean isRemoteSession() Overrides org. Implements org. INTERNAL: Return if this session is remote.
| |
| setShouldEnableDistributedIndirectionGarbageCollection | back to summary |
|---|---|
| public void setShouldEnableDistributedIndirectionGarbageCollection(boolean shouldEnableDistributedIndirectionGarbageCollection) ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. | |
| shouldEnableDistributedIndirectionGarbageCollection | back to summary |
|---|---|
| public boolean shouldEnableDistributedIndirectionGarbageCollection() ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. | |