public abstract class SessionEventAdapter extends Object implements SessionEventListener
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.
| Constructor and Description |
|---|
SessionEventAdapter() |
| Modifier and Type | Method and Description |
|---|---|
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 |
postLogout(SessionEvent event)
PUBLIC:
This Event is raised after the session logs out.
|
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 |
preLogout(SessionEvent event)
PUBLIC:
This Event is raised before the session logs out.
|
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.
|
public void missingDescriptor(SessionEvent event)
missingDescriptor in interface SessionEventListenerpublic void moreRowsDetected(SessionEvent event)
moreRowsDetected in interface SessionEventListenerpublic void noRowsModified(SessionEvent event)
noRowsModified in interface SessionEventListenerpublic void outputParametersDetected(SessionEvent event)
outputParametersDetected in interface SessionEventListenerpublic void postAcquireClientSession(SessionEvent event)
postAcquireClientSession in interface SessionEventListenerpublic void postAcquireConnection(SessionEvent event)
postAcquireConnection in interface SessionEventListenerpublic void postAcquireExclusiveConnection(SessionEvent event)
postAcquireExclusiveConnection in interface SessionEventListenerpublic void postAcquireUnitOfWork(SessionEvent event)
postAcquireUnitOfWork in interface SessionEventListenerpublic void postBeginTransaction(SessionEvent event)
postBeginTransaction in interface SessionEventListenerpublic void preCalculateUnitOfWorkChangeSet(SessionEvent event)
preCalculateUnitOfWorkChangeSet in interface SessionEventListenerpublic void postCalculateUnitOfWorkChangeSet(SessionEvent event)
postCalculateUnitOfWorkChangeSet in interface SessionEventListenerpublic void postCommitTransaction(SessionEvent event)
postCommitTransaction in interface SessionEventListenerpublic void postCommitUnitOfWork(SessionEvent event)
postCommitUnitOfWork in interface SessionEventListenerpublic void postDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
postDistributedMergeUnitOfWorkChangeSet in interface SessionEventListenerpublic void postMergeUnitOfWorkChangeSet(SessionEvent event)
postMergeUnitOfWorkChangeSet in interface SessionEventListenerpublic void postConnect(SessionEvent event)
postConnect in interface SessionEventListenerpublic void postExecuteQuery(SessionEvent event)
postExecuteQuery in interface SessionEventListenerpublic void postReleaseClientSession(SessionEvent event)
postReleaseClientSession in interface SessionEventListenerpublic void postReleaseUnitOfWork(SessionEvent event)
postReleaseUnitOfWork in interface SessionEventListenerpublic void postResumeUnitOfWork(SessionEvent event)
postResumeUnitOfWork in interface SessionEventListenerpublic void postRollbackTransaction(SessionEvent event)
postRollbackTransaction in interface SessionEventListenerpublic void preBeginTransaction(SessionEvent event)
preBeginTransaction in interface SessionEventListenerpublic void preCommitTransaction(SessionEvent event)
preCommitTransaction in interface SessionEventListenerpublic void preCommitUnitOfWork(SessionEvent event)
preCommitUnitOfWork in interface SessionEventListenerpublic void preExecuteQuery(SessionEvent event)
preExecuteQuery in interface SessionEventListenerpublic void prepareUnitOfWork(SessionEvent event)
prepareUnitOfWork in interface SessionEventListenerpublic void preReleaseClientSession(SessionEvent event)
preReleaseClientSession in interface SessionEventListenerpublic void preReleaseConnection(SessionEvent event)
preReleaseConnection in interface SessionEventListenerpublic void preReleaseExclusiveConnection(SessionEvent event)
preReleaseExclusiveConnection in interface SessionEventListenerpublic void preReleaseUnitOfWork(SessionEvent event)
preReleaseUnitOfWork in interface SessionEventListenerpublic void preDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
preDistributedMergeUnitOfWorkChangeSet in interface SessionEventListenerpublic void preMergeUnitOfWorkChangeSet(SessionEvent event)
preMergeUnitOfWorkChangeSet in interface SessionEventListenerpublic void preRollbackTransaction(SessionEvent event)
preRollbackTransaction in interface SessionEventListenerpublic void preLogin(SessionEvent event)
preLogin in interface SessionEventListenerpublic void postLogin(SessionEvent event)
postLogin in interface SessionEventListenerpublic void preLogout(SessionEvent event)
preLogout in interface SessionEventListenerpublic void postLogout(SessionEvent event)
postLogout in interface SessionEventListenerCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.