public class ConnectionEvent
extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTION_CLOSED |
static int |
CONNECTION_ERROR_OCCURRED |
protected int |
id |
static int |
LOCAL_TRANSACTION_COMMITTED |
static int |
LOCAL_TRANSACTION_ROLLEDBACK |
static int |
LOCAL_TRANSACTION_STARTED |
Constructor and Description |
---|
ConnectionEvent(ManagedConnection source,
int eid) |
ConnectionEvent(ManagedConnection source,
int eid,
java.lang.Exception exception) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getConnectionHandle() |
java.lang.Exception |
getException() |
int |
getId() |
void |
setConnectionHandle(java.lang.Object connectionHandle) |
public static final int CONNECTION_CLOSED
public static final int LOCAL_TRANSACTION_STARTED
public static final int LOCAL_TRANSACTION_COMMITTED
public static final int LOCAL_TRANSACTION_ROLLEDBACK
public static final int CONNECTION_ERROR_OCCURRED
protected int id
public ConnectionEvent(ManagedConnection source, int eid)
public ConnectionEvent(ManagedConnection source, int eid, java.lang.Exception exception)