All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.jaw.reference.agent.cmf.FrameworkEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.sun.jaw.reference.agent.cmf.FrameworkEvent
- public class FrameworkEvent
- extends EventObject
The FrameworkEvent class represents an event emitted by the
core management framework. The core management framework emits these
types of events:
- M-bean instantiation
- M-bean deletion
- Property value change
-
CREATE_EVT
- Constant denoting an m-bean instantiation event.
-
DELETE_EVT
- Constant denoting an m-bean deletion event.
-
VALUE_CHANGE_EVT
- Constant denoting a property value change event.
-
FrameworkEvent(Framework, Vector, int)
- Creates a
FrameworkEvent object.
-
getClassVersion()
- Returns the version of this class.
-
getEventObjectNames()
- Obtains the object names of the m-beans that caused the event.
-
getEventType()
- Obtains the type of the event.
CREATE_EVT
public static final int CREATE_EVT
- Constant denoting an m-bean instantiation event.
DELETE_EVT
public static final int DELETE_EVT
- Constant denoting an m-bean deletion event.
VALUE_CHANGE_EVT
public static final int VALUE_CHANGE_EVT
- Constant denoting a property value change event.
FrameworkEvent
public FrameworkEvent(Framework source,
Vector eventObjectNames,
int eventType)
- Creates a
FrameworkEvent object. You have to specify
the object names of the m-beans that caused the event.
- Parameters:
- source - The core management framework that emitted the
event.
- eventObjectNames - A list of the
object names
of the m-beans that caused the event.
- eventType - An integer denoting the type of the
event. Set it to one these values:
| 1 | M-bean instantiation |
| 2 | M-bean deletion |
| 3 | Property value change |
getEventObjectNames
public Vector getEventObjectNames()
- Obtains the object names of the m-beans that caused the event.
- Returns:
- A list of the
object names
of the m-beans that caused the event.
getEventType
public Integer getEventType()
- Obtains the type of the event.
- Returns:
- An integer denoting the type of the
event:
| 1 | M-bean instantiation |
| 2 | M-bean deletion |
| 3 | Property value change |
getClassVersion
public String getClassVersion()
- Returns the version of this class.
All Packages Class Hierarchy This Package Previous Next Index