javax.resource.spi.LazyEnlistableConnectionManager.public interface ConnectionEventListener extends javax.resource.spi.ConnectionEventListener, InteractionMetrics
This interface also extends the InteractionMetrics interface. The reason
this extends the InteractionMetrics interface is so that any ResouceAdapter can report
usage statics on a per connection basis and participate in WebSphere's Request Metrics tracking
and in advanced diagnostic information support.
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERACTION_PENDING
Deprecated.
Identifier for the interactionPending event.
|
RM_ARM_ABORT, RM_ARM_FAILED, RM_ARM_GOOD, RM_ARM_UNKNOWN, TRAN_DETAIL_LEVEL_BASIC, TRAN_DETAIL_LEVEL_EXTENDED, TRAN_DETAIL_LEVEL_PERF| Modifier and Type | Method and Description |
|---|---|
void |
interactionPending(javax.resource.spi.ConnectionEvent connectionevent)
Deprecated.
Method interactionPending is used to signal that a ManagedConnection needs to be enlisted
in a transaction - this should happen just prior to when work is performed on the back end.
|
connectionClosed, connectionErrorOccurred, localTransactionCommitted, localTransactionRolledback, localTransactionStartedgetCorrelator, getTranDetailLevel, isInteractionMetricsEnabled, postInteraction, postInteraction, preInteractionstatic final int INTERACTION_PENDING
void interactionPending(javax.resource.spi.ConnectionEvent connectionevent)
throws javax.resource.ResourceException
connectionevent - This should be an interactionPending event with the identifier defined
in this class. The ManagedConnection to be enlisted should be
included in the event.javax.resource.ResourceException - if an error occurs when enlisting the ManagedConnection.