public class ConnectionEvent extends 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 |
source
Constructor and Description |
---|
ConnectionEvent(ManagedConnection source,
int eid) |
ConnectionEvent(ManagedConnection source,
int eid,
Exception exception) |
Modifier and Type | Method and Description |
---|---|
Object |
getConnectionHandle() |
Exception |
getException() |
int |
getId() |
void |
setConnectionHandle(Object connectionHandle) |
getSource, toString
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, Exception exception)
Copyright © 2013. All Rights Reserved.