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
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | missingDescriptor(SessionEvent event)
Implements org. |
| public void | moreRowsDetected(SessionEvent event)
Implements org. |
| public void | noRowsModified(SessionEvent event)
Implements org. |
| public void | outputParametersDetected(SessionEvent event)
Implements org. |
| public void | postAcquireClientSession(SessionEvent event)
Implements org. |
| public void | postAcquireConnection(SessionEvent event)
Implements org. |
| public void | postAcquireExclusiveConnection(SessionEvent event)
Implements org. |
| public void | postAcquireUnitOfWork(SessionEvent event)
Implements org. |
| public void | postBeginTransaction(SessionEvent event)
Implements org. |
| public void | postCalculateUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | postCommitTransaction(SessionEvent event)
Implements org. |
| public void | postCommitUnitOfWork(SessionEvent event)
Implements org. |
| public void | postConnect(SessionEvent event)
Implements org. |
| public void | postDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | postExecuteCall(SessionEvent event)
Implements org. |
| public void | postExecuteQuery(SessionEvent event)
Implements org. |
| public void | postLogin(SessionEvent event)
Implements org. |
| public void | postLogout(SessionEvent event)
Implements org. |
| public void | postMergeUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | postReleaseClientSession(SessionEvent event)
Implements org. |
| public void | postReleaseUnitOfWork(SessionEvent event)
Implements org. |
| public void | postResumeUnitOfWork(SessionEvent event)
Implements org. |
| public void | postRollbackTransaction(SessionEvent event)
Implements org. |
| public void | preBeginTransaction(SessionEvent event)
Implements org. |
| public void | preCalculateUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | preCommitTransaction(SessionEvent event)
Implements org. |
| public void | preCommitUnitOfWork(SessionEvent event)
Implements org. |
| public void | preDistributedMergeUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | preExecuteCall(SessionEvent event)
Implements org. |
| public void | preExecuteQuery(SessionEvent event)
Implements org. |
| public void | preLogin(SessionEvent event)
Implements org. |
| public void | preLogout(SessionEvent event)
Implements org. |
| public void | preMergeUnitOfWorkChangeSet(SessionEvent event)
Implements org. |
| public void | prepareUnitOfWork(SessionEvent event)
Implements org. |
| public void | preReleaseClientSession(SessionEvent event)
Implements org. |
| public void | preReleaseConnection(SessionEvent event)
Implements org. |
| public void | preReleaseExclusiveConnection(SessionEvent event)
Implements org. |
| public void | preReleaseUnitOfWork(SessionEvent event)
Implements org. |
| public void | preRollbackTransaction(SessionEvent event)
Implements org. |
| SessionEventAdapter | back to summary |
|---|---|
| public SessionEventAdapter() | |
| missingDescriptor | back to summary |
|---|---|
| public void missingDescriptor(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the session if a descriptor is missing for a class being persisted. This can be used to lazy register the descriptor or set of descriptors.
| |
| moreRowsDetected | back to summary |
|---|---|
| public void moreRowsDetected(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the session after read object query detected more than a single row back from the database. The "result" of the event will be the call. Some applications may want to interpret this as an error or warning condition.
| |
| noRowsModified | back to summary |
|---|---|
| public void noRowsModified(SessionEvent event) Implements org. Doc from org. 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.
| |
| outputParametersDetected | back to summary |
|---|---|
| public void outputParametersDetected(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the session after a stored procedure call has been executed that had output parameters. If the proc was used to override an insert/update/delete operation then EclipseLink will not be expecting any return value. This event mechanism allows for a listener to be registered before the proc is call to process the output values. The event "result" will contain a Record of the output values, and property "call" will be the StoredProcedureCall.
| |
| postAcquireClientSession | back to summary |
|---|---|
| public void postAcquireClientSession(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the client session after creation/acquiring.
| |
| postAcquireConnection | back to summary |
|---|---|
| public void postAcquireConnection(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on when using the server/client sessions. This event is raised after a connection is acquired from a connection pool.
| |
| postAcquireExclusiveConnection | back to summary |
|---|---|
| public void postAcquireExclusiveConnection(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised when a ClientSession, with Isolated data, acquires an exclusive connection. The event will contain the ClientSession that is being acquired. Users can set properties within the ConnectionPolicy of that ClientSession for access within this event.
| |
| postAcquireUnitOfWork | back to summary |
|---|---|
| public void postAcquireUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work after creation/acquiring. This will be raised on nest units of work.
| |
| postBeginTransaction | back to summary |
|---|---|
| public void postBeginTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after a database transaction is started. It is not raised for nested transactions.
| |
| postCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postCalculateUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after the commit has begun on the UnitOfWork and after the changes are calculated. The UnitOfWorkChangeSet, at this point, will contain changeSets without the version fields updated and without IdentityField type primary keys. These will be updated after the insert, or update, of the object
| |
| postCommitTransaction | back to summary |
|---|---|
| public void postCommitTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after a database transaction is commited. It is not raised for nested transactions.
| |
| postCommitUnitOfWork | back to summary |
|---|---|
| public void postCommitUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work after commit. This will be raised on nest units of work.
| |
| postConnect | back to summary |
|---|---|
| public void postConnect(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after the session connects to the database. In a server session this event is raised on every new connection established.
| |
| postDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postDistributedMergeUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This even will be raised after a UnitOfWorkChangeSet has been merged When that changeSet has been received from a distributed session
| |
| postExecuteCall | back to summary |
|---|---|
| public void postExecuteCall(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after the execution of every call against the session. The event contains the call and call result. This differs from query execution in that the call has been translated.
| |
| postExecuteQuery | back to summary |
|---|---|
| public void postExecuteQuery(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after the execution of every query against the session. The event contains the query and query result.
| |
| postLogin | back to summary |
|---|---|
| public void postLogin(SessionEvent event) Implements org. Doc from org. PUBLIC: This Event is raised after the session logs in.
| |
| postLogout | back to summary |
|---|---|
| public void postLogout(SessionEvent event) Implements org. Doc from org. PUBLIC: This Event is raised after the session logs out.
| |
| postMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postMergeUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This even will be raised after a UnitOfWorkChangeSet has been merged
| |
| postReleaseClientSession | back to summary |
|---|---|
| public void postReleaseClientSession(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the client session after releasing.
| |
| postReleaseUnitOfWork | back to summary |
|---|---|
| public void postReleaseUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work after release. This will be raised on nest units of work.
| |
| postResumeUnitOfWork | back to summary |
|---|---|
| public void postResumeUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work after resuming. This occurs after pre/postCommit.
| |
| postRollbackTransaction | back to summary |
|---|---|
| public void postRollbackTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after a database transaction is rolledback. It is not raised for nested transactions.
| |
| preBeginTransaction | back to summary |
|---|---|
| public void preBeginTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised before a database transaction is started. It is not raised for nested transactions.
| |
| preCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preCalculateUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised after the commit has begun on the UnitOfWork but before the changes are calculated.
| |
| preCommitTransaction | back to summary |
|---|---|
| public void preCommitTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised before a database transaction is commited. It is not raised for nested transactions.
| |
| preCommitUnitOfWork | back to summary |
|---|---|
| public void preCommitUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work before commit. This will be raised on nest units of work.
| |
| preDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preDistributedMergeUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This even will be raised before a UnitOfWorkChangeSet has been merged When that changeSet has been received from a distributed session
| |
| preExecuteCall | back to summary |
|---|---|
| public void preExecuteCall(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised before the execution of every call against the session. The event contains the call to be executed. This differs from query execution in that the call has been translated.
| |
| preExecuteQuery | back to summary |
|---|---|
| public void preExecuteQuery(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised before the execution of every query against the session. The event contains the query to be executed.
| |
| preLogin | back to summary |
|---|---|
| public void preLogin(SessionEvent event) Implements org. Doc from org. PUBLIC: This Event is raised before the session logs in.
| |
| preLogout | back to summary |
|---|---|
| public void preLogout(SessionEvent event) Implements org. Doc from org. PUBLIC: This Event is raised before the session logs out.
| |
| preMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preMergeUnitOfWorkChangeSet(SessionEvent event) Implements org. Doc from org. PUBLIC: This even will be raised before a UnitOfWorkChangeSet has been merged
| |
| prepareUnitOfWork | back to summary |
|---|---|
| public void prepareUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work after the SQL has been flushed, but the commit transaction has not been executed. It is similar to the JTS prepare phase.
| |
| preReleaseClientSession | back to summary |
|---|---|
| public void preReleaseClientSession(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the client session before releasing.
| |
| preReleaseConnection | back to summary |
|---|---|
| public void preReleaseConnection(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on when using the server/client sessions. This event is raised before a connection is released into a connection pool.
| |
| preReleaseExclusiveConnection | back to summary |
|---|---|
| public void preReleaseExclusiveConnection(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is fired just before a Client Session, with isolated data, releases its Exclusive Connection
| |
| preReleaseUnitOfWork | back to summary |
|---|---|
| public void preReleaseUnitOfWork(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised on the unit of work before release. This will be raised on nest units of work.
| |
| preRollbackTransaction | back to summary |
|---|---|
| public void preRollbackTransaction(SessionEvent event) Implements org. Doc from org. PUBLIC: This event is raised before a database transaction is rolledback. It is not raised for nested transactions.
| |