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
-
ADD
- Indicates that a ManagedBean was added to the RepositoryModel.
-
DELETE
- Indicates that a ManagedBean was deleted from the RepositoryModel.
-
MODIFY
- Indicates that a ManagedBean was modified in the RepositoryModel.
-
RepositoryModelChangeEvent(RepositoryModel, int, ManagedBean)
-
Constructs an event around the specified
parameters.
-
RepositoryModelChangeEvent(RepositoryModel, int, Vector)
-
Constructs an event around the specified
parameters.
-
getID()
- Returns the ID of this event (ADD, DELETE, or MODIFY).
-
getManagedBeans()
- Returns the Vector of ManagedBeans wrapped by this event.
-
getRepositoryModel()
- Returns a reference to the RepositoryModel that generated this event.
ADD
public static final int ADD
- Indicates that a ManagedBean was added to the RepositoryModel.
DELETE
public static final int DELETE
- Indicates that a ManagedBean was deleted from the RepositoryModel.
MODIFY
public static final int MODIFY
- Indicates that a ManagedBean was modified in the RepositoryModel.
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
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
getID
public int getID()
- Returns the ID of this event (ADD, DELETE, or MODIFY).
- Returns:
- ADD, DELETE, or MODIFY.
getManagedBeans
public Vector getManagedBeans()
- Returns the Vector of ManagedBeans wrapped by this event.
- Returns:
- The Vector of ManagedBeans.
- See Also:
- ManagedBean
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