|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.internal.sessions.AbstractSession oracle.toplink.remote.DistributedSession oracle.toplink.remote.RemoteSession
public class 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 interface oracle.toplink.remotecommand.CommandProcessor |
---|
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING |
Constructor Summary | |
---|---|
RemoteSession(oracle.toplink.internal.remote.RemoteConnection remoteConnection)
Creates a RemoteSession. |
Method Summary | |
---|---|
oracle.toplink.internal.sessions.UnitOfWorkImpl |
acquireUnitOfWork()
Return a unit of work for this session. |
java.lang.Object |
executeQuery(DatabaseQuery query)
Execute the database query. |
Login |
getDatasourceLogin()
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, isConnected, release, rollbackTransaction, toString |
Methods inherited from class oracle.toplink.internal.sessions.AbstractSession |
---|
addAlias, addQuery, clearIntegrityChecker, clearProfile, compareObjectsDontMatch, config, containsObjectInIdentityMap, containsObjectInIdentityMap, containsQuery, copyObject, copyObject, deleteAllObjects, deleteAllObjects, deleteObject, doesObjectExist, dontLogMessages, executeNonSelectingCall, executeNonSelectingSQL, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeSelectingCall, executeSQL, fine, finer, finest, getActiveSession, getActiveUnitOfWork, getAllFromIdentityMap, getAllFromIdentityMap, getAllFromIdentityMap, getAllQueries, getAsOfClause, getCacheSynchronizationManager, getClassDescriptor, getClassDescriptor, getClassDescriptorForAlias, getCommandManager, getDescriptor, getDescriptorForAlias, getDescriptors, getEjbqlPlaceHolderQueries, getEventManager, getExceptionHandler, getExternalTransactionController, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getFromIdentityMap, getIdentityMapAccessor, getIntegrityChecker, getLog, getLogLevel, getLogLevel, getName, getNextSequenceNumberValue, getProfiler, getProject, getProperties, getProperty, getQueries, getQuery, getQuery, getSessionLog, getWriteLockValue, getWriteLockValue, handleException, handleSevere, hasCacheSynchronizationManager, hasDescriptor, hasExceptionHandler, hasExternalTransactionController, info, initializeAllIdentityMaps, initializeIdentityMap, initializeIdentityMaps, insertObject, isClassReadOnly, isClientSession, isDatabaseSession, isFinalizersEnabled, isInProfile, isInTransaction, isRemoteUnitOfWork, isServerSession, isSessionBroker, isUnitOfWork, keyFromObject, keyFromObject, log, log, log, log, log, log, log, log, log, log, log, logDebug, logDebug, logException, logMessage, logMessage, logMessages, logThrowable, printIdentityMap, printIdentityMaps, putInIdentityMap, putInIdentityMap, putInIdentityMap, putInIdentityMap, readAllObjects, readAllObjects, readAllObjects, readAllObjects, readObject, readObject, readObject, readObject, readObject, refreshAndLockObject, refreshAndLockObject, refreshObject, removeFromIdentityMap, removeFromIdentityMap, removeProperty, removeQuery, removeQuery, setCacheSynchronizationManager, setCommandManager, setDatasourceLogin, setExceptionHandler, setExternalTransactionController, setIntegrityChecker, setIsFinalizersEnabled, setIsInProfile, setLog, setLogin, setLogin, setLogLevel, setName, setProfiler, setProperty, setSessionLog, setSessionLog, setShouldLogMessages, setShouldPropagateChanges, setUseOldCommit, severe, shouldLog, shouldLogMessages, shouldPropagateChanges, updateObject, updateWriteLockValue, updateWriteLockValue, usesExternalTransactionController, usesOldCommit, validateCache, verifyDelete, warning, writeObject |
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 oracle.toplink.internal.sessions.UnitOfWorkImpl acquireUnitOfWork()
acquireUnitOfWork
in interface Session
acquireUnitOfWork
in class DistributedSession
UnitOfWorkImpl
public java.lang.Object executeQuery(DatabaseQuery query)
executeQuery
in interface Session
executeQuery
in class DistributedSession
DatabaseQuery
public DatabaseLogin getLogin()
getLogin
in interface Session
getLogin
in class oracle.toplink.internal.sessions.AbstractSession
public Login getDatasourceLogin()
getDatasourceLogin
in interface Session
getDatasourceLogin
in class oracle.toplink.internal.sessions.AbstractSession
public void initializeSequencing()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |