Example usage for Java javax.resource.spi ConnectionEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | CONNECTION_CLOSED Event notification that an application component has closed the connection |
int | LOCAL_TRANSACTION_STARTED Event notification that a Resource Manager Local Transaction was started on the connection |
int | LOCAL_TRANSACTION_COMMITTED Event notification that a Resource Manager Local Transaction was committed on the connection |
int | LOCAL_TRANSACTION_ROLLEDBACK Event notification that a Resource Manager Local Transaction was rolled back on the connection |
int | CONNECTION_ERROR_OCCURRED Event notification that an error occurred on the connection. |
ConnectionEvent(ManagedConnection source, int eid) Construct a ConnectionEvent object. | |
ConnectionEvent(ManagedConnection source, int eid, Exception exception) Construct a ConnectionEvent object. |
int | getId() Get the type of event |
void | setConnectionHandle(Object connectionHandle) Set the connection handle. |