| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--java.util.EventObject
        |
        +--planetj.database.connection.ConnectionEvent
Contains information about an event involving a connection. The source of a ConnectionEvent is the connection involved with the event.
| Field Summary | |
static int | 
CONNECTION_CHECK_IN
A connection is about to be checked into the connection pool  | 
static int | 
CONNECTION_CHECK_OUT
A connection is about to be checked out of the connection pool.  | 
static int | 
CONNECTION_CREATE
A connection is about to be created.  | 
static int | 
CONNECTION_ORPHAN
A connection is about to be orphaned  | 
static int | 
CONNECTION_TIMEOUT
A connection is about to be timed out  | 
| Constructor Summary | |
ConnectionEvent(DataEngineConnection source,
                int type)
Creates a new ConnectionEvent  | 
|
| Method Summary | |
 DataEngineConnection | 
getConnection()
Gets the connection associated with the event (this will be null only if the event is the creation or destruction of an entire connection pool).  | 
 ConnectionEvent | 
getOriginatingEvent()
Gets the event which caused this event (if such an event exists).  | 
 int | 
getType()
Gets the type of event that occured.  | 
| Methods inherited from class java.util.EventObject | 
getSource, toString | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
public static final int CONNECTION_CREATE
public static final int CONNECTION_CHECK_OUT
public static final int CONNECTION_CHECK_IN
public static final int CONNECTION_ORPHAN
public static final int CONNECTION_TIMEOUT
| Constructor Detail | 
public ConnectionEvent(DataEngineConnection source,
                       int type)
| Method Detail | 
public DataEngineConnection getConnection()
public ConnectionEvent getOriginatingEvent()
public int getType()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||