|
|||||||||
| Home >> All >> javax >> resource >> [ spi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javax.resource.spi
Class ConnectionEvent

java.lang.Objectjava.util.EventObject
javax.resource.spi.ConnectionEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ConnectionEvent
- extends java.util.EventObject
- Version:
- $Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
| Field Summary | |
static int |
CONNECTION_CLOSED
|
static int |
CONNECTION_ERROR_OCCURRED
|
private java.lang.Object |
connectionHandle
|
private java.lang.Exception |
exception
|
protected int |
id
|
static int |
LOCAL_TRANSACTION_COMMITTED
|
static int |
LOCAL_TRANSACTION_ROLLEDBACK
|
static int |
LOCAL_TRANSACTION_STARTED
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ConnectionEvent(ManagedConnection source,
int eid)
|
|
ConnectionEvent(ManagedConnection source,
int eid,
java.lang.Exception exception)
|
|
| Method Summary | |
java.lang.Object |
getConnectionHandle()
|
java.lang.Exception |
getException()
|
int |
getId()
|
void |
setConnectionHandle(java.lang.Object connectionHandle)
|
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
CONNECTION_CLOSED
public static final int CONNECTION_CLOSED
- See Also:
- Constant Field Values
LOCAL_TRANSACTION_STARTED
public static final int LOCAL_TRANSACTION_STARTED
- See Also:
- Constant Field Values
LOCAL_TRANSACTION_COMMITTED
public static final int LOCAL_TRANSACTION_COMMITTED
- See Also:
- Constant Field Values
LOCAL_TRANSACTION_ROLLEDBACK
public static final int LOCAL_TRANSACTION_ROLLEDBACK
- See Also:
- Constant Field Values
CONNECTION_ERROR_OCCURRED
public static final int CONNECTION_ERROR_OCCURRED
- See Also:
- Constant Field Values
id
protected int id
exception
private java.lang.Exception exception
connectionHandle
private java.lang.Object connectionHandle
| Constructor Detail |
ConnectionEvent
public ConnectionEvent(ManagedConnection source, int eid)
ConnectionEvent
public ConnectionEvent(ManagedConnection source, int eid, java.lang.Exception exception)
| Method Detail |
getConnectionHandle
public java.lang.Object getConnectionHandle()
setConnectionHandle
public void setConnectionHandle(java.lang.Object connectionHandle)
getException
public java.lang.Exception getException()
getId
public int getId()
|
|||||||||
| Home >> All >> javax >> resource >> [ spi overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC