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 |
postExecuteCall(SessionEvent event)
PUBLIC:
This event is raised after the execution of every call against the 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 commited.
|
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 |
preExecuteCall(SessionEvent event)
PUBLIC:
This event is raised before the execution of every call against the 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)
SessionEventListener
missingDescriptor
in interface SessionEventListener
public void moreRowsDetected(SessionEvent event)
SessionEventListener
moreRowsDetected
in interface SessionEventListener
public void noRowsModified(SessionEvent event)
SessionEventListener
noRowsModified
in interface SessionEventListener
public void outputParametersDetected(SessionEvent event)
SessionEventListener
outputParametersDetected
in interface SessionEventListener
public void postAcquireClientSession(SessionEvent event)
SessionEventListener
postAcquireClientSession
in interface SessionEventListener
public void postAcquireConnection(SessionEvent event)
SessionEventListener
postAcquireConnection
in interface SessionEventListener
public void postAcquireExclusiveConnection(SessionEvent event)
SessionEventListener
postAcquireExclusiveConnection
in interface SessionEventListener
public void postAcquireUnitOfWork(SessionEvent event)
SessionEventListener
postAcquireUnitOfWork
in interface SessionEventListener
public void postBeginTransaction(SessionEvent event)
SessionEventListener
postBeginTransaction
in interface SessionEventListener
public void preCalculateUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
preCalculateUnitOfWorkChangeSet
in interface SessionEventListener
public void postCalculateUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
postCalculateUnitOfWorkChangeSet
in interface SessionEventListener
public void postCommitTransaction(SessionEvent event)
SessionEventListener
postCommitTransaction
in interface SessionEventListener
public void postCommitUnitOfWork(SessionEvent event)
SessionEventListener
postCommitUnitOfWork
in interface SessionEventListener
public void postDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
postDistributedMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void postMergeUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
postMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void postConnect(SessionEvent event)
SessionEventListener
postConnect
in interface SessionEventListener
public void postExecuteCall(SessionEvent event)
SessionEventListener
postExecuteCall
in interface SessionEventListener
public void postExecuteQuery(SessionEvent event)
SessionEventListener
postExecuteQuery
in interface SessionEventListener
public void postReleaseClientSession(SessionEvent event)
SessionEventListener
postReleaseClientSession
in interface SessionEventListener
public void postReleaseUnitOfWork(SessionEvent event)
SessionEventListener
postReleaseUnitOfWork
in interface SessionEventListener
public void postResumeUnitOfWork(SessionEvent event)
SessionEventListener
postResumeUnitOfWork
in interface SessionEventListener
public void postRollbackTransaction(SessionEvent event)
SessionEventListener
postRollbackTransaction
in interface SessionEventListener
public void preBeginTransaction(SessionEvent event)
SessionEventListener
preBeginTransaction
in interface SessionEventListener
public void preCommitTransaction(SessionEvent event)
SessionEventListener
preCommitTransaction
in interface SessionEventListener
public void preCommitUnitOfWork(SessionEvent event)
SessionEventListener
preCommitUnitOfWork
in interface SessionEventListener
public void preExecuteCall(SessionEvent event)
SessionEventListener
preExecuteCall
in interface SessionEventListener
public void preExecuteQuery(SessionEvent event)
SessionEventListener
preExecuteQuery
in interface SessionEventListener
public void prepareUnitOfWork(SessionEvent event)
SessionEventListener
prepareUnitOfWork
in interface SessionEventListener
public void preReleaseClientSession(SessionEvent event)
SessionEventListener
preReleaseClientSession
in interface SessionEventListener
public void preReleaseConnection(SessionEvent event)
SessionEventListener
preReleaseConnection
in interface SessionEventListener
public void preReleaseExclusiveConnection(SessionEvent event)
SessionEventListener
preReleaseExclusiveConnection
in interface SessionEventListener
public void preReleaseUnitOfWork(SessionEvent event)
SessionEventListener
preReleaseUnitOfWork
in interface SessionEventListener
public void preDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
preDistributedMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void preMergeUnitOfWorkChangeSet(SessionEvent event)
SessionEventListener
preMergeUnitOfWorkChangeSet
in interface SessionEventListener
public void preRollbackTransaction(SessionEvent event)
SessionEventListener
preRollbackTransaction
in interface SessionEventListener
public void preLogin(SessionEvent event)
SessionEventListener
preLogin
in interface SessionEventListener
public void postLogin(SessionEvent event)
SessionEventListener
postLogin
in interface SessionEventListener
public void preLogout(SessionEvent event)
SessionEventListener
preLogout
in interface SessionEventListener
public void postLogout(SessionEvent event)
SessionEventListener
postLogout
in interface SessionEventListener
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.