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:


Variable Index

 o CREATE_EVT
Constant denoting an m-bean instantiation event.
 o DELETE_EVT
Constant denoting an m-bean deletion event.
 o VALUE_CHANGE_EVT
Constant denoting a property value change event.

Constructor Index

 o FrameworkEvent(Framework, Vector, int)
Creates a FrameworkEvent object.

Method Index

 o getClassVersion()
Returns the version of this class.
 o getEventObjectNames()
Obtains the object names of the m-beans that caused the event.
 o getEventType()
Obtains the type of the event.

Variables

 o CREATE_EVT
 public static final int CREATE_EVT
Constant denoting an m-bean instantiation event.

 o DELETE_EVT
 public static final int DELETE_EVT
Constant denoting an m-bean deletion event.

 o VALUE_CHANGE_EVT
 public static final int VALUE_CHANGE_EVT
Constant denoting a property value change event.

Constructors

 o 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:
1M-bean instantiation
2M-bean deletion
3Property value change

Methods

 o 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.
 o getEventType
 public Integer getEventType()
Obtains the type of the event.

Returns:
An integer denoting the type of the event:
1M-bean instantiation
2M-bean deletion
3Property value change
 o getClassVersion
 public String getClassVersion()
Returns the version of this class.


All Packages  Class Hierarchy  This Package  Previous  Next  Index