|
Oracle TopLink API Reference 10g Release 3 (10.1.3) B13698-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.toplink.publicinterface.Session
oracle.toplink.internal.sessions.AbstractSession
oracle.toplink.remote.DistributedSession
oracle.toplink.remote.RemoteSession
Purpose: Provide transparent remote three-tiered replacation support. The remote session allows for complex three-tiered applications to be easily built. It gives the remote client the fully functionality of the TopLink api including,
| Field Summary |
| Fields inherited from class oracle.toplink.publicinterface.Session |
isInBroker, isInProfile, usesOldCommit |
| Fields inherited from interface oracle.toplink.remotecommand.CommandProcessor |
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING |
| Constructor Summary | |
RemoteSession(oracle.toplink.internal.remote.RemoteConnection remoteConnection)
PUBLIC: Creates a RemoteSession. |
|
| Method Summary | |
UnitOfWork |
acquireUnitOfWork()
PUBLIC: Return a unit of work for this session. |
java.lang.Object |
executeQuery(DatabaseQuery query)
PUBLIC: Execute the database query. |
Login |
getDatasourceLogin()
PUBLIC: Return the login. |
DatabaseLogin |
getLogin()
Deprecated. replaced by getDatasourceLogin() |
void |
initializeSequencing()
ADVANCED: Creates sequencing object for the session. |
void |
setShouldEnableDistributedIndirectionGarbageCollection(boolean shouldEnableDistributedIndirectionGarbageCollection)
ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. |
boolean |
shouldEnableDistributedIndirectionGarbageCollection()
ADVANCED: Allow the server-side value holders to be cleaned-up when the client-side value holder finalize. |
| Methods inherited from class oracle.toplink.remote.DistributedSession |
beginTransaction, commitTransaction, executeQuery, executeQuery, executeQuery, executeQuery, release, rollbackTransaction, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RemoteSession(oracle.toplink.internal.remote.RemoteConnection remoteConnection)
remoteConnection - remote session requires a remote connection. This must be accessed remotely from the client through RMI or CORBA.| Method Detail |
public void setShouldEnableDistributedIndirectionGarbageCollection(boolean shouldEnableDistributedIndirectionGarbageCollection)
public boolean shouldEnableDistributedIndirectionGarbageCollection()
public UnitOfWork acquireUnitOfWork()
acquireUnitOfWork in interface SessionacquireUnitOfWork in class DistributedSessionUnitOfWorkpublic java.lang.Object executeQuery(DatabaseQuery query)
executeQuery in interface SessionexecuteQuery in class DistributedSessionpublic DatabaseLogin getLogin()
getLogin in interface SessiongetLogin in class Sessionpublic Login getDatasourceLogin()
getDatasourceLogin in interface SessiongetDatasourceLogin in class Sessionpublic void initializeSequencing()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||