Purpose: Used to support session events. To register for events notification an event listener must be registered with the session.
Session#getEventManager(), SessionEvent
| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected Session |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addListener(SessionEventListener listener)
Implements abstract org. |
| public Object | |
| public SessionEventManager | |
| protected void | |
| public List | |
| public Session | |
| public boolean | |
| public void | missingDescriptor(Class<?> missingClass)
INTERNAL: Raised for missing descriptors for lazy registration. |
| public void | |
| public void | |
| public void | outputParametersDetected(DataRecord outputRow, DatasourceCall call)
INTERNAL: Raised for stored proc output parameters. |
| public void | |
| public void | postAcquireConnection(Accessor accessor)
INTERNAL: Raised after acquire a connection from a connection pool. |
| public void | postAcquireExclusiveConnection(ClientSession clientSession, Accessor accessor)
INTERNAL: Raised after acquire a connection from a connection pool. |
| public void | |
| public void | |
| public void | postCalculateUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL: Post calculate UnitOfWork Change Set. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | preDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet)
INTERNAL: Pre merge Distributed UnitOfWorkChangeSet |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | preReleaseConnection(Accessor accessor)
INTERNAL: Raised before release a connection to a connection pool. |
| public void | preReleaseExclusiveConnection(ClientSession clientSession, Accessor accessor)
INTERNAL: This event is fired just before a Client Session, with isolated data, releases its Exclusive Connection |
| public void | |
| public void | |
| public void | |
| protected void | setListeners(List<SessionEventListener> listeners)
The event listeners will receive all events raised by this session. |
| public void | |
| protected void |
| listeners | back to summary |
|---|---|
| protected List<SessionEventListener> listeners | |
| session | back to summary |
|---|---|
| protected Session session | |
| SessionEventManager | back to summary |
|---|---|
| public SessionEventManager() INTERNAL: Default constructor. | |
| SessionEventManager | back to summary |
|---|---|
| public SessionEventManager(Session session) PUBLIC: Create a new session event manager for a session | |
| addListener | back to summary |
|---|---|
| public void addListener(SessionEventListener listener) Implements abstract org. PUBLIC: Add the event listener to the session. The listener will receive all events raised by this session. Also unit of works acquire from this session will inherit the listeners. If session is a broker then its members add the listener, too.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. INTERNAL: Shallow clone the event manager.
| |
| clone | back to summary |
|---|---|
| public SessionEventManager clone(Session newSession) INTERNAL: Clone the event manager for the new session. | |
| endOperationProfile | back to summary |
|---|---|
| protected void endOperationProfile() INTERNAL: End call | |
| getListeners | back to summary |
|---|---|
| public List PUBLIC: The event listeners will receive all events raised by this session. Also unit of works acquire from this session will inherit the listeners. | |
| getSession | back to summary |
|---|---|
| public Session getSession() INTERNAL: Get the session for this session event manager | |
| hasListeners | back to summary |
|---|---|
| public boolean hasListeners() PUBLIC: Check if there are any event listeners. | |
| missingDescriptor | back to summary |
|---|---|
| public void missingDescriptor(Class<?> missingClass) INTERNAL: Raised for missing descriptors for lazy registration. | |
| moreRowsDetected | back to summary |
|---|---|
| public void moreRowsDetected(DatabaseCall call) INTERNAL: Raised for stored proc output parameters. | |
| noRowsModified | back to summary |
|---|---|
| public void noRowsModified(ModifyQuery query, Object object) INTERNAL: Raised for stored proc output parameters. | |
| outputParametersDetected | back to summary |
|---|---|
| public void outputParametersDetected(DataRecord outputRow, DatasourceCall call) INTERNAL: Raised for stored proc output parameters. | |
| postAcquireClientSession | back to summary |
|---|---|
| public void postAcquireClientSession() INTERNAL: Post acquire client session. | |
| postAcquireConnection | back to summary |
|---|---|
| public void postAcquireConnection(Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool. | |
| postAcquireExclusiveConnection | back to summary |
|---|---|
| public void postAcquireExclusiveConnection(ClientSession clientSession, Accessor accessor) INTERNAL: Raised after acquire a connection from a connection pool. | |
| postAcquireUnitOfWork | back to summary |
|---|---|
| public void postAcquireUnitOfWork() INTERNAL: Post acquire unit of work. | |
| postBeginTransaction | back to summary |
|---|---|
| public void postBeginTransaction() INTERNAL: Post begin transaction. | |
| postCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postCalculateUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet) INTERNAL: Post calculate UnitOfWork Change Set. | |
| postCommitTransaction | back to summary |
|---|---|
| public void postCommitTransaction() INTERNAL: Post commit transaction. | |
| postCommitUnitOfWork | back to summary |
|---|---|
| public void postCommitUnitOfWork() INTERNAL: Post commit unit of work. | |
| postConnect | back to summary |
|---|---|
| public void postConnect(Accessor accessor) INTERNAL: Raised after connecting. | |
| postDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet) INTERNAL: Pre execute query. | |
| postExecuteCall | back to summary |
|---|---|
| public void postExecuteCall(Call call, Object result) INTERNAL: Post execute call. | |
| postExecuteQuery | back to summary |
|---|---|
| public void postExecuteQuery(DatabaseQuery query, Object result) INTERNAL: Post execute query. | |
| postLogin | back to summary |
|---|---|
| public void postLogin(Session session) INTERNAL: post login to the session. | |
| postLogout | back to summary |
|---|---|
| public void postLogout(Session session) INTERNAL: post logout to the session. | |
| postMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void postMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet) INTERNAL: Pre execute query. | |
| postReleaseClientSession | back to summary |
|---|---|
| public void postReleaseClientSession() INTERNAL: Post release client session. | |
| postReleaseUnitOfWork | back to summary |
|---|---|
| public void postReleaseUnitOfWork() INTERNAL: Post release unit of work. | |
| postResumeUnitOfWork | back to summary |
|---|---|
| public void postResumeUnitOfWork() INTERNAL: Post resume unit of work. | |
| postRollbackTransaction | back to summary |
|---|---|
| public void postRollbackTransaction() INTERNAL: Post rollback transaction. | |
| preBeginTransaction | back to summary |
|---|---|
| public void preBeginTransaction() INTERNAL: Pre begin transaction. | |
| preCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preCalculateUnitOfWorkChangeSet() INTERNAL: Pre calculate UnitOfWork Change Set. | |
| preCommitTransaction | back to summary |
|---|---|
| public void preCommitTransaction() INTERNAL: Pre commit transaction. | |
| preCommitUnitOfWork | back to summary |
|---|---|
| public void preCommitUnitOfWork() INTERNAL: Pre commit unit of work. | |
| preDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preDistributedMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet) INTERNAL: Pre merge Distributed UnitOfWorkChangeSet | |
| preExecuteCall | back to summary |
|---|---|
| public void preExecuteCall(Call call) INTERNAL: Pre execute call. | |
| preExecuteQuery | back to summary |
|---|---|
| public void preExecuteQuery(DatabaseQuery query) INTERNAL: Pre execute query. | |
| preLogin | back to summary |
|---|---|
| public void preLogin(Session session) INTERNAL: Pre login to the session. | |
| preLogout | back to summary |
|---|---|
| public void preLogout(Session session) INTERNAL: Pre logout to the session. | |
| preMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public void preMergeUnitOfWorkChangeSet(UnitOfWorkChangeSet changeSet) INTERNAL: Pre merge UnitOfWorkChangeSet | |
| prepareUnitOfWork | back to summary |
|---|---|
| public void prepareUnitOfWork() INTERNAL: Prepare unit of work. | |
| preReleaseClientSession | back to summary |
|---|---|
| public void preReleaseClientSession() INTERNAL: Pre release client session. | |
| preReleaseConnection | back to summary |
|---|---|
| public void preReleaseConnection(Accessor accessor) INTERNAL: Raised before release a connection to a connection pool. | |
| preReleaseExclusiveConnection | back to summary |
|---|---|
| public void preReleaseExclusiveConnection(ClientSession clientSession, Accessor accessor) INTERNAL: This event is fired just before a Client Session, with isolated data, releases its Exclusive Connection | |
| preReleaseUnitOfWork | back to summary |
|---|---|
| public void preReleaseUnitOfWork() INTERNAL: Pre release unit of work. | |
| preRollbackTransaction | back to summary |
|---|---|
| public void preRollbackTransaction() INTERNAL: Pre rollback transaction. | |
| removeListener | back to summary |
|---|---|
| public void removeListener(SessionEventListener listener) PUBLIC: Remove the event listener from the session. If session is a broker and the listener was in its list, then its members remove the listener, too. | |
| setListeners | back to summary |
|---|---|
| protected void setListeners(List<SessionEventListener> listeners) The event listeners will receive all events raised by this session. Also unit of works acquire from this session will inherit the listeners. | |
| setSession | back to summary |
|---|---|
| public void setSession(Session session) INTERNAL: Set the session for this session event manager | |
| startOperationProfile | back to summary |
|---|---|
| protected void startOperationProfile() INTERNAL: Start call | |