Purpose: Encapsulate the information provided with session events. This is used as the argument to any event raised by the session. To register for events notification an event listener must be registered with the session.
SessionEventManager#addListener(SessionEventListener), Session#getEventManager(), SessionEventListener
| Modifier and Type | Field and Description |
|---|---|
| protected Call | call
Some events may have a call associated with them (pre/postExecuteCall). |
| protected int | eventCode
The code of the event being raised. |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| protected Hashtable | properties
Additional properties may be added. |
| protected DatabaseQuery | query
Some events may have a query associated with them (pre/postExecuteQuery). |
| protected Object | result
Some events may have a result associated with them (pre/postExecuteQuery). |
| protected Session | session
The session or unit of work raising the event. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Call | |
| public int | |
| public Hashtable | |
| public Object | |
| public DatabaseQuery | |
| public Object | |
| public Session | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setQuery(DatabaseQuery query)
INTERNAL: Some events may have a query associated with them (pre/postExecuteQuery). |
| public void | |
| public void |
| call | back to summary |
|---|---|
| protected Call call Some events may have a call associated with them (pre/postExecuteCall). | |
| eventCode | back to summary |
|---|---|
| protected int eventCode The code of the event being raised. This is an integer constant value as defined below. | |
| MissingDescriptor | back to summary |
|---|---|
| public static final int MissingDescriptor | |
| MoreRowsDetected | back to summary |
|---|---|
| public static final int MoreRowsDetected | |
| NoRowsModified | back to summary |
|---|---|
| public static final int NoRowsModified | |
| OutputParametersDetected | back to summary |
|---|---|
| public static final int OutputParametersDetected | |
| PostAcquireClientSession | back to summary |
|---|---|
| public static final int PostAcquireClientSession | |
| PostAcquireConnection | back to summary |
|---|---|
| public static final int PostAcquireConnection | |
| PostAcquireExclusiveConnection | back to summary |
|---|---|
| public static final int PostAcquireExclusiveConnection | |
| PostAcquireUnitOfWork | back to summary |
|---|---|
| public static final int PostAcquireUnitOfWork | |
| PostBeginTransaction | back to summary |
|---|---|
| public static final int PostBeginTransaction | |
| PostCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PostCalculateUnitOfWorkChangeSet | |
| PostCommitTransaction | back to summary |
|---|---|
| public static final int PostCommitTransaction | |
| PostCommitUnitOfWork | back to summary |
|---|---|
| public static final int PostCommitUnitOfWork | |
| PostConnect | back to summary |
|---|---|
| public static final int PostConnect | |
| PostDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PostDistributedMergeUnitOfWorkChangeSet | |
| PostExecuteCall | back to summary |
|---|---|
| public static final int PostExecuteCall | |
| PostExecuteQuery | back to summary |
|---|---|
| public static final int PostExecuteQuery | |
| PostLogin | back to summary |
|---|---|
| public static final int PostLogin | |
| PostLogout | back to summary |
|---|---|
| public static final int PostLogout | |
| PostMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PostMergeUnitOfWorkChangeSet | |
| PostReleaseClientSession | back to summary |
|---|---|
| public static final int PostReleaseClientSession | |
| PostReleaseUnitOfWork | back to summary |
|---|---|
| public static final int PostReleaseUnitOfWork | |
| PostResumeUnitOfWork | back to summary |
|---|---|
| public static final int PostResumeUnitOfWork | |
| PostRollbackTransaction | back to summary |
|---|---|
| public static final int PostRollbackTransaction | |
| PreBeginTransaction | back to summary |
|---|---|
| public static final int PreBeginTransaction | |
| PreCalculateUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PreCalculateUnitOfWorkChangeSet | |
| PreCommitTransaction | back to summary |
|---|---|
| public static final int PreCommitTransaction | |
| PreCommitUnitOfWork | back to summary |
|---|---|
| public static final int PreCommitUnitOfWork | |
| PreDistributedMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PreDistributedMergeUnitOfWorkChangeSet | |
| PreExecuteCall | back to summary |
|---|---|
| public static final int PreExecuteCall | |
| PreExecuteQuery | back to summary |
|---|---|
| public static final int PreExecuteQuery | |
| PreLogin | back to summary |
|---|---|
| public static final int PreLogin | |
| PreLogout | back to summary |
|---|---|
| public static final int PreLogout | |
| PreMergeUnitOfWorkChangeSet | back to summary |
|---|---|
| public static final int PreMergeUnitOfWorkChangeSet | |
| PrepareUnitOfWork | back to summary |
|---|---|
| public static final int PrepareUnitOfWork | |
| PreReleaseClientSession | back to summary |
|---|---|
| public static final int PreReleaseClientSession | |
| PreReleaseConnection | back to summary |
|---|---|
| public static final int PreReleaseConnection | |
| PreReleaseExclusiveConnection | back to summary |
|---|---|
| public static final int PreReleaseExclusiveConnection | |
| PreReleaseUnitOfWork | back to summary |
|---|---|
| public static final int PreReleaseUnitOfWork | |
| PreRollbackTransaction | back to summary |
|---|---|
| public static final int PreRollbackTransaction | |
| properties | back to summary |
|---|---|
| protected Hashtable<K, V> properties Additional properties may be added. | |
| query | back to summary |
|---|---|
| protected DatabaseQuery query Some events may have a query associated with them (pre/postExecuteQuery). | |
| result | back to summary |
|---|---|
| protected Object result Some events may have a result associated with them (pre/postExecuteQuery). | |
| session | back to summary |
|---|---|
| protected Session session The session or unit of work raising the event. | |
| SessionEvent | back to summary |
|---|---|
| public SessionEvent(int eventCode, Session session) INTERNAL: Create the event. | |
| getCall | back to summary |
|---|---|
| public Call getCall() PUBLIC: Some events may have a call associated with them (pre/postExecuteCall). | |
| getEventCode | back to summary |
|---|---|
| public int getEventCode() PUBLIC: The code of the session event being raised. This is an integer constant value from this class. | |
| getProperties | back to summary |
|---|---|
| public Hashtable PUBLIC: Additional properties may be added to the event. | |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) PUBLIC: Additional properties may be added to the event. | |
| getQuery | back to summary |
|---|---|
| public DatabaseQuery getQuery() PUBLIC: Some events may have a query associated with them (pre/postExecuteQuery). | |
| getResult | back to summary |
|---|---|
| public Object getResult() PUBLIC: Some events may have a result associated with them (pre/postExecuteQuery). | |
| getSession | back to summary |
|---|---|
| public Session getSession() PUBLIC: The session in which the event is raised. | |
| setCall | back to summary |
|---|---|
| public void setCall(Call call) INTERNAL: Some events may have a call associated with them (pre/postExecuteCall). | |
| setEventCode | back to summary |
|---|---|
| public void setEventCode(int eventCode) INTERNAL: The code of the session event being raised. This is an integer constant value from this class. | |
| setProperties | back to summary |
|---|---|
| public void setProperties(Hashtable<K, V> properties) INTERNAL: Additional properties may be added to the event. | |
| setProperty | back to summary |
|---|---|
| public void setProperty(String name, Object value) INTERNAL: Additional properties may be added to the event. | |
| setQuery | back to summary |
|---|---|
| public void setQuery(DatabaseQuery query) INTERNAL: Some events may have a query associated with them (pre/postExecuteQuery). | |
| setResult | back to summary |
|---|---|
| public void setResult(Object result) INTERNAL: Some events may have a result associated with them (pre/postExecuteQuery). | |
| setSession | back to summary |
|---|---|
| public void setSession(Session session) INTERNAL: The session in which the event is raised. | |