com.sun.jaw.reference.agent.cmf
Class FrameworkEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.sun.jaw.reference.agent.cmf.FrameworkEvent

public class FrameworkEvent
extends java.util.EventObject

A event which indicates that an m-bean has been added or removed from the framework.

This event is generated by the framework each time:

The event is passed to every FrameworkListener that registered to receive such events using the addFrameworkListener method.

See Also:
Framework, FrameworkListener, Serialized Form

Field Summary
static int CREATE_EVT
          The "m-bean registered" event.
static int DELETE_EVT
          The "m-bean unregistered" event.
static int VALUE_CHANGE_EVT
          Not implemented in this release.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FrameworkEvent(Framework source, java.util.Vector objectNames, int typeId)
          Constructs a FrameworkEvent object with the specified source framework, object names and type.
 
Method Summary
 java.lang.String getClassVersion()
          Returns the version of this class.
 java.util.Vector getEventObjectNames()
          Returns the object names that have been registered or unregistered.
 java.lang.Integer getEventType()
          Returns the type 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

CREATE_EVT

public static final int CREATE_EVT
The "m-bean registered" event.

DELETE_EVT

public static final int DELETE_EVT
The "m-bean unregistered" event.

VALUE_CHANGE_EVT

public static final int VALUE_CHANGE_EVT
Not implemented in this release. This definition is left for source compatibility purpose only.
Constructor Detail

FrameworkEvent

public FrameworkEvent(Framework source,
                      java.util.Vector objectNames,
                      int typeId)
Constructs a FrameworkEvent object with the specified source framework, object names and type.
Parameters:
source - the framework that emitted the event
objectNames - a vector of ObjectName
typeId - CREATE_EVT or DELETE_EVT
Method Detail

getEventObjectNames

public java.util.Vector getEventObjectNames()
Returns the object names that have been registered or unregistered.
Returns:
a vector of ObjectName

getEventType

public java.lang.Integer getEventType()
Returns the type of the event.
Returns:
CREATE_EVT or DELETE_EVT

getClassVersion

public java.lang.String getClassVersion()
Returns the version of this class.