javax.resource.spi
Class ConnectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.resource.spi.ConnectionEvent
All Implemented Interfaces:
Serializable

public class ConnectionEvent
extends EventObject

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $
See Also:
Serialized Form

Field Summary
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
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ConnectionEvent(ManagedConnection source, int eid)
           
ConnectionEvent(ManagedConnection source, int eid, Exception exception)
           
 
Method Summary
 Object getConnectionHandle()
           
 Exception getException()
           
 int getId()
           
 void setConnectionHandle(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
Constructor Detail

ConnectionEvent

public ConnectionEvent(ManagedConnection source,
                       int eid)

ConnectionEvent

public ConnectionEvent(ManagedConnection source,
                       int eid,
                       Exception exception)
Method Detail

getConnectionHandle

public Object getConnectionHandle()

setConnectionHandle

public void setConnectionHandle(Object connectionHandle)

getException

public Exception getException()

getId

public int getId()


Copyright © 2006 Apache Software Foundation. All Rights Reserved.