|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.sessions.SessionEventAdapter
public abstract class SessionEventAdapter
Purpose: To provide a trivial implemetation of SessionEventListener. You may subclass this class rather than implement the entire SessonEventListener interface in cases where only a small subset of the interface methods are needed.
SessionEventManager.addListener(SessionEventListener)
,
SessionEventListener
,
SessionEvent
Constructor Summary | |
---|---|
SessionEventAdapter()
|
Method Summary | |
---|---|
void |
missingDescriptor(SessionEvent event)
PUBLIC: This event is raised on the session if a descriptor is missing for a class being persisted. |
void |
moreRowsDetected(SessionEvent event)
PUBLIC: This event is raised on the session after read object query detected more than a single row back from the database. |
void |
noRowsModified(SessionEvent event)
PUBLIC: This event is raised on the session after update or delete SQL has been sent to the database but a row count of zero was returned. |
void |
outputParametersDetected(SessionEvent event)
PUBLIC: This event is raised on the session after a stored procedure call has been executed that had output parameters. |
void |
postAcquireClientSession(SessionEvent event)
PUBLIC: This event is raised on the client session after creation/acquiring. |
void |
postAcquireConnection(SessionEvent event)
PUBLIC: This event is raised on when using the server/client sessions. |
void |
postAcquireExclusiveConnection(SessionEvent event)
PUBLIC: This event is raised when a ClientSession, with Isolated data, acquires an exclusive connection. |
void |
postAcquireUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work after creation/acquiring. |
void |
postBeginTransaction(SessionEvent event)
PUBLIC: This event is raised after a database transaction is started. |
void |
postCalculateUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This event is raised after the commit has begun on the UnitOfWork and after the changes are calculated. |
void |
postCommitTransaction(SessionEvent event)
PUBLIC: This event is raised after a database transaction is commited. |
void |
postCommitUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work after commit. |
void |
postConnect(SessionEvent event)
PUBLIC: This event is raised after the session connects to the database. |
void |
postDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This even will be raised after a UnitOfWorkChangeSet has been merged When that changeSet has been received from a distributed session |
void |
postExecuteQuery(SessionEvent event)
PUBLIC: This event is raised after the execution of every query against the session. |
void |
postLogin(SessionEvent event)
PUBLIC: This Event is raised after the session logs in. |
void |
postMergeUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This even will be raised after a UnitOfWorkChangeSet has been merged |
void |
postReleaseClientSession(SessionEvent event)
PUBLIC: This event is raised on the client session after releasing. |
void |
postReleaseUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work after release. |
void |
postResumeUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work after resuming. |
void |
postRollbackTransaction(SessionEvent event)
PUBLIC: This event is raised after a database transaction is rolledback. |
void |
preBeginTransaction(SessionEvent event)
PUBLIC: This event is raised before a database transaction is started. |
void |
preCalculateUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This event is raised after the commit has begun on the UnitOfWork but before the changes are calculated. |
void |
preCommitTransaction(SessionEvent event)
PUBLIC: This event is raised before a database transaction is committed. |
void |
preCommitUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work before commit. |
void |
preDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This even will be raised before a UnitOfWorkChangeSet has been merged When that changeSet has been received from a distributed session |
void |
preExecuteQuery(SessionEvent event)
PUBLIC: This event is raised before the execution of every query against the session. |
void |
preLogin(SessionEvent event)
PUBLIC: This Event is raised before the session logs in. |
void |
preMergeUnitOfWorkChangeSet(SessionEvent event)
PUBLIC: This even will be raised before a UnitOfWorkChangeSet has been merged |
void |
prepareUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work after the SQL has been flushed, but the commit transaction has not been executed. |
void |
preReleaseClientSession(SessionEvent event)
PUBLIC: This event is raised on the client session before releasing. |
void |
preReleaseConnection(SessionEvent event)
PUBLIC: This event is raised on when using the server/client sessions. |
void |
preReleaseExclusiveConnection(SessionEvent event)
PUBLIC: This event is fired just before a Client Session, with isolated data, releases its Exclusive Connection |
void |
preReleaseUnitOfWork(SessionEvent event)
PUBLIC: This event is raised on the unit of work before release. |
void |
preRollbackTransaction(SessionEvent event)
PUBLIC: This event is raised before a database transaction is rolledback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionEventAdapter()
Method Detail |
---|
public void missingDescriptor(SessionEvent event)
missingDescriptor
in interface SessionEventListener
public void moreRowsDetected(SessionEvent event)
moreRowsDetected
in interface SessionEventListener
public void noRowsModified(SessionEvent event)
noRowsModified
in interface SessionEventListener
public void outputParametersDetected(SessionEvent event)
outputParametersDetected
in interface SessionEventListener
public void postAcquireClientSession(SessionEvent event)
postAcquireClientSession
in interface SessionEventListener
public void postAcquireConnection(SessionEvent event)
postAcquireConnection
in interface SessionEventListener
public void postAcquireExclusiveConnection(SessionEvent event)
postAcquireExclusiveConnection
in interface SessionEventListener
public void postAcquireUnitOfWork(SessionEvent event)
postAcquireUnitOfWork
in interface SessionEventListener
public void postBeginTransaction(SessionEvent event)
postBeginTransaction
in interface SessionEventListener
public void preCalculateUnitOfWorkChangeSet(SessionEvent event)
preCalculateUnitOfWorkChangeSet
in interface SessionEventListener
public void postCalculateUnitOfWorkChangeSet(SessionEvent event)
postCalculateUnitOfWorkChangeSet
in interface SessionEventListener
public void postCommitTransaction(SessionEvent event)
postCommitTransaction
in interface SessionEventListener
public void postCommitUnitOfWork(SessionEvent event)
postCommitUnitOfWork
in interface SessionEventListener
public void postDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
postDistributedMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void postMergeUnitOfWorkChangeSet(SessionEvent event)
postMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void postConnect(SessionEvent event)
postConnect
in interface SessionEventListener
public void postExecuteQuery(SessionEvent event)
postExecuteQuery
in interface SessionEventListener
public void postReleaseClientSession(SessionEvent event)
postReleaseClientSession
in interface SessionEventListener
public void postReleaseUnitOfWork(SessionEvent event)
postReleaseUnitOfWork
in interface SessionEventListener
public void postResumeUnitOfWork(SessionEvent event)
postResumeUnitOfWork
in interface SessionEventListener
public void postRollbackTransaction(SessionEvent event)
postRollbackTransaction
in interface SessionEventListener
public void preBeginTransaction(SessionEvent event)
preBeginTransaction
in interface SessionEventListener
public void preCommitTransaction(SessionEvent event)
preCommitTransaction
in interface SessionEventListener
public void preCommitUnitOfWork(SessionEvent event)
preCommitUnitOfWork
in interface SessionEventListener
public void preExecuteQuery(SessionEvent event)
preExecuteQuery
in interface SessionEventListener
public void prepareUnitOfWork(SessionEvent event)
prepareUnitOfWork
in interface SessionEventListener
public void preReleaseClientSession(SessionEvent event)
preReleaseClientSession
in interface SessionEventListener
public void preReleaseConnection(SessionEvent event)
preReleaseConnection
in interface SessionEventListener
public void preReleaseExclusiveConnection(SessionEvent event)
preReleaseExclusiveConnection
in interface SessionEventListener
public void preReleaseUnitOfWork(SessionEvent event)
preReleaseUnitOfWork
in interface SessionEventListener
public void preDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
preDistributedMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void preMergeUnitOfWorkChangeSet(SessionEvent event)
preMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void preRollbackTransaction(SessionEvent event)
preRollbackTransaction
in interface SessionEventListener
public void preLogin(SessionEvent event)
preLogin
in interface SessionEventListener
public void postLogin(SessionEvent event)
postLogin
in interface SessionEventListener
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |