| java.lang.Object java.util.EventObject javax.management.Notification javax.management.relation.RelationNotification
RelationNotification | public class RelationNotification extends Notification (Code) | | A notification from the relation service.
author: Adrian Brock version: $Revision: 57200 $ version: Revisions: version: 20020715 Adrian Brock: version: version: - Serialization
version:
|
Constructor Summary | |
public | RelationNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, String relationId, String relTypeName, ObjectName relObjName, List unregMBeans) Construct a new relation notification for a creation or removal.
The notification type should be one
RelationNotification.RELATION_BASIC_CREATION ,
RelationNotification.RELATION_BASIC_REMOVAL ,
RelationNotification.RELATION_MBEAN_CREATION or
RelationNotification.RELATION_MBEAN_REMOVAL .
The relation type cannot be null, the source cannot be null and it
must be a relation service, the relation id cannot be null, the
relation type name cannot null.
Parameters: type - the notification type. Parameters: source - the object sending the notification (always thethe relation service). Parameters: sequenceNumber - the number identifying the notification Parameters: timeStamp - the time of the notification Parameters: message - human readable string Parameters: relationId - the relation id Parameters: relTypeName - the relation type name Parameters: relObjName - the relation MBean object name (nullfor internal relations) Parameters: unregMBeans - the list of object names of mbeans to beunregistered from the relation service because of a relationremoval. | public | RelationNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, String relationId, String relTypeName, ObjectName relObjName, String roleName, List newRoleValue, List oldRoleValue) Construct a new relation notification for an update.
The notification type should be one
RelationNotification.RELATION_BASIC_UPDATE ,
RelationNotification.RELATION_MBEAN_UPDATE The relation type cannot be null, the source cannot be null and it
must be a relation service, the relation id cannot be null, the
relation type name cannot null. |
RELATION_BASIC_CREATION | final public static String RELATION_BASIC_CREATION(Code) | | Creation of an internal relation.
|
RELATION_BASIC_REMOVAL | final public static String RELATION_BASIC_REMOVAL(Code) | | Removal of an internal relation.
|
RELATION_BASIC_UPDATE | final public static String RELATION_BASIC_UPDATE(Code) | | Update of an internal relation.
|
RELATION_MBEAN_CREATION | final public static String RELATION_MBEAN_CREATION(Code) | | Creation of MBean relation added to the relation service.
|
RELATION_MBEAN_REMOVAL | final public static String RELATION_MBEAN_REMOVAL(Code) | | Removal of MBean relation added to the relation service.
|
RELATION_MBEAN_UPDATE | final public static String RELATION_MBEAN_UPDATE(Code) | | Update of MBean relation added to the relation service.
|
RelationNotification | public RelationNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, String relationId, String relTypeName, ObjectName relObjName, List unregMBeans) throws IllegalArgumentException(Code) | | Construct a new relation notification for a creation or removal.
The notification type should be one
RelationNotification.RELATION_BASIC_CREATION ,
RelationNotification.RELATION_BASIC_REMOVAL ,
RelationNotification.RELATION_MBEAN_CREATION or
RelationNotification.RELATION_MBEAN_REMOVAL .
The relation type cannot be null, the source cannot be null and it
must be a relation service, the relation id cannot be null, the
relation type name cannot null.
Parameters: type - the notification type. Parameters: source - the object sending the notification (always thethe relation service). Parameters: sequenceNumber - the number identifying the notification Parameters: timeStamp - the time of the notification Parameters: message - human readable string Parameters: relationId - the relation id Parameters: relTypeName - the relation type name Parameters: relObjName - the relation MBean object name (nullfor internal relations) Parameters: unregMBeans - the list of object names of mbeans to beunregistered from the relation service because of a relationremoval. Only relevant for removals, can be null. exception: IllegalArgumentException - for null or invalid parameters. |
RelationNotification | public RelationNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, String relationId, String relTypeName, ObjectName relObjName, String roleName, List newRoleValue, List oldRoleValue) throws IllegalArgumentException(Code) | | Construct a new relation notification for an update.
The notification type should be one
RelationNotification.RELATION_BASIC_UPDATE ,
RelationNotification.RELATION_MBEAN_UPDATE The relation type cannot be null, the source cannot be null and it
must be a relation service, the relation id cannot be null, the
relation type name cannot null.
Parameters: type - the notification type. Parameters: source - the object sending the notification (always thethe relation service). Parameters: sequenceNumber - the number identifying the notification Parameters: timeStamp - the time of the notification Parameters: message - human readable string Parameters: relationId - the relation id Parameters: relTypeName - the relation type name Parameters: relObjName - the relation MBean object name (nullfor internal relations) Parameters: roleName - the role name Parameters: newRoleValue - the new value of the role Parameters: newRoleValue - the old value of the role exception: IllegalArgumentException - for null or invalid parameters. |
getMBeansToUnregister | public List getMBeansToUnregister()(Code) | | Retrieves a list of Object names of the mbeans that will be removed
from the relation service because of a relation's removal. This
is only relevant for relation removal events.
the list of removed mbeans. |
getNewRoleValue | public List getNewRoleValue()(Code) | | Retrieves the new list of object names in the role.
the new list. |
getObjectName | public ObjectName getObjectName()(Code) | | Retrieves the object name of the mbean (null for an internal relation).
the relation's object name. |
getOldRoleValue | public List getOldRoleValue()(Code) | | Retrieves the old list of object names in the role.
the old list. |
getRelationId | public String getRelationId()(Code) | | Retrieves the relation id of this notification.
the relation id. |
getRelationTypeName | public String getRelationTypeName()(Code) | | Retrieves the relation type name of this notification.
the relation type name. |
getRoleName | public String getRoleName()(Code) | | Retrieves the role name of an updated role, only for role updates.
the name of the updated role. |
|
|