|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
oracle.jdeveloper.cm.ConnectionEvent
The ConnectionEvent class describes the nature of a
connection-related event. They can roughly be broken down into two
separate categories:
Events related to ConnectionDescriptor
objects:
These include CONNECTION_ADDED,
CONNECITON_MODIFIED, and
CONNECTION_REMOVED.
Events related to live ConnectionWrapper
objects:
These include CONNECTION_OPENED and
CONNECTION_CLOSED events.
ConnectionDescriptor,
ConnectionWrapper,
Serialized Form| Field Summary | |
protected java.lang.Object |
_data
|
protected int |
_id
|
static int |
CONNECTION_ADDED
constant: CONNECTION_ADDED identifier. |
static int |
CONNECTION_CLOSED
constant: CONNECTION_CLOSED identifier. |
static int |
CONNECTION_MODIFIED
constant: CONNECTION_MODIFIED identifier. |
static int |
CONNECTION_OPENED
constant: CONNECTION_OPENED identifier. |
static int |
CONNECTION_REMOVED
constant: CONNECTION_REMOVED identifier. |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
ConnectionEvent(int id,
java.lang.Object source,
java.lang.Object data)
constructs a new ConnectionEvent object. |
|
| Method Summary | |
java.lang.Object |
getData()
returns the user data associated with the event. |
int |
getID()
returns the id of the event. |
| 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 |
public static final int CONNECTION_ADDED
CONNECTION_ADDED identifier.
public static final int CONNECTION_MODIFIED
CONNECTION_MODIFIED identifier.
public static final int CONNECTION_OPENED
CONNECTION_OPENED identifier.
public static final int CONNECTION_CLOSED
CONNECTION_CLOSED identifier.
public static final int CONNECTION_REMOVED
CONNECTION_REMOVED identifier.
protected int _id
protected java.lang.Object _data
| Constructor Detail |
public ConnectionEvent(int id,
java.lang.Object source,
java.lang.Object data)
ConnectionEvent object.
id - the constant describing the type of event.source - the object generating the event.data - any user data the source wants to provide.| Method Detail |
public int getID()
public java.lang.Object getData()
|
Extension SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright ©1997, 2003, Oracle. All rights reserved.