All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.mb.RepositoryModelChangeEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.beans.mb.RepositoryModelChangeEvent

public class RepositoryModelChangeEvent
extends EventObject
implements Serializable
This class defines the event that describes changes to the RepositoryModel. An ADD event indicates that ManagedBeans were added to the Model. A DELETE event indicates that ManagedBeans were deleted from the RepositoryModel. A MODIFY event indicates that ManagedBeans in the RepositoryModel were modified.

See Also:
RepositoryModel, RepositoryModelChangeListener, ManagedBean

Variable Index

 o ADD
Indicates that a ManagedBean was added to the RepositoryModel.
 o DELETE
Indicates that a ManagedBean was deleted from the RepositoryModel.
 o MODIFY
Indicates that a ManagedBean was modified in the RepositoryModel.

Constructor Index

 o RepositoryModelChangeEvent(RepositoryModel, int, ManagedBean)
Constructs an event around the specified parameters.
 o RepositoryModelChangeEvent(RepositoryModel, int, Vector)
Constructs an event around the specified parameters.

Method Index

 o getID()
Returns the ID of this event (ADD, DELETE, or MODIFY).
 o getManagedBeans()
Returns the Vector of ManagedBeans wrapped by this event.
 o getRepositoryModel()
Returns a reference to the RepositoryModel that generated this event.

Variables

 o ADD
 public static final int ADD
Indicates that a ManagedBean was added to the RepositoryModel.

 o DELETE
 public static final int DELETE
Indicates that a ManagedBean was deleted from the RepositoryModel.

 o MODIFY
 public static final int MODIFY
Indicates that a ManagedBean was modified in the RepositoryModel.

Constructors

 o RepositoryModelChangeEvent
 public RepositoryModelChangeEvent(RepositoryModel source,
                                   int id,
                                   Vector managedBeans)
Constructs an event around the specified parameters. This constructor accepts a Vector of ManagedBeans.

Parameters:
source - The RepositoryModel that is distributing this event.
id - ADD, DELETE, or MODIFY.
managedBeans - The Vector of ManagedBeans that are the subject of this event.
See Also:
RepositoryModel, RepositoryModelChangeListener, ManagedBean
 o RepositoryModelChangeEvent
 public RepositoryModelChangeEvent(RepositoryModel source,
                                   int id,
                                   ManagedBean managedBean)
Constructs an event around the specified parameters. This constructor accepts a single ManagedBean.

Parameters:
source - The RepositoryModel that is distributing this event.
id - ADD, DELETE, or MODIFY.
managedBean - ManagedBean that is the subject of this event.
See Also:
RepositoryModel, RepositoryModelChangeListener, ManagedBean

Methods

 o getID
 public int getID()
Returns the ID of this event (ADD, DELETE, or MODIFY).

Returns:
ADD, DELETE, or MODIFY.
 o getManagedBeans
 public Vector getManagedBeans()
Returns the Vector of ManagedBeans wrapped by this event.

Returns:
The Vector of ManagedBeans.
See Also:
ManagedBean
 o getRepositoryModel
 public RepositoryModel getRepositoryModel()
Returns a reference to the RepositoryModel that generated this event.

Returns:
The RepositoryModel that generated this Event.
See Also:
RepositoryModel

All Packages  Class Hierarchy  This Package  Previous  Next  Index