| javax.management.Notification javax.management.relation.RelationNotification
RelationNotification | public class RelationNotification extends Notification (Code) | | A RelationNotification notification is sent when a relation is created via
the Relation Service, or a MBean is added as a relation in the Relation
Service, or a role is updated in a relation, or a relation is removed
from the Relation Service
|
Constructor Summary | |
public | RelationNotification(String theNtfType, Object theSrcObj, long theSeqNbr, long theTimeStamp, String theMsg, String theRelId, String theRelTypeName, ObjectName theRelObjName, List theUnregMBeanList) Creates a notification for either a relation creation (RelationSupport
object created internally in the Relation Service, or a MBean added as
a relation) or for a relation removal from the Relation Service
Parameters: theNtfType - - type of the notification; either:- RELATION_BASIC_CREATION- RELATION_MBEAN_CREATION- RELATION_BASIC_REMOVAL- RELATION_MBEAN_REMOVAL Parameters: theSrcObj - - source object, sending the notification. | public | RelationNotification(String theNtfType, Object theSrcObj, long theSeqNbr, long theTimeStamp, String theMsg, String theRelId, String theRelTypeName, ObjectName theRelObjName, String theRoleName, List theNewRoleValue, List theOldRoleValue) Creates a notification for a role update in a relation
Parameters: theNtfType - - type of the notification; either:- RELATION_BASIC_UPDATE- RELATION_MBEAN_UPDATE Parameters: theSrcObj - - source object, sending the notification. |
RELATION_BASIC_CREATION | final public static String RELATION_BASIC_CREATION(Code) | | Type for the creation of an internal relation
|
RELATION_BASIC_REMOVAL | final public static String RELATION_BASIC_REMOVAL(Code) | | Type for the removal from the Relation Service of an internal relation
|
RELATION_BASIC_UPDATE | final public static String RELATION_BASIC_UPDATE(Code) | | Type for an update of an internal relation
|
RELATION_MBEAN_CREATION | final public static String RELATION_MBEAN_CREATION(Code) | | Type for the relation MBean added into the Relation Service
|
RELATION_MBEAN_REMOVAL | final public static String RELATION_MBEAN_REMOVAL(Code) | | Type for the removal from the Relation Service of a relation MBean
|
RELATION_MBEAN_UPDATE | final public static String RELATION_MBEAN_UPDATE(Code) | | Type for the update of a relation MBean
|
timeStamp | long timeStamp(Code) | | |
RelationNotification | public RelationNotification(String theNtfType, Object theSrcObj, long theSeqNbr, long theTimeStamp, String theMsg, String theRelId, String theRelTypeName, ObjectName theRelObjName, List theUnregMBeanList) throws IllegalArgumentException(Code) | | Creates a notification for either a relation creation (RelationSupport
object created internally in the Relation Service, or a MBean added as
a relation) or for a relation removal from the Relation Service
Parameters: theNtfType - - type of the notification; either:- RELATION_BASIC_CREATION- RELATION_MBEAN_CREATION- RELATION_BASIC_REMOVAL- RELATION_MBEAN_REMOVAL Parameters: theSrcObj - - source object, sending the notification. Will alwaysbe a RelationService object. Parameters: theSeqNbr - - sequence number to identify the notification Parameters: theTimeStamp - - time stamp Parameters: theMsg - - human-readable message describing the notification Parameters: theRelId - - relation id identifying the relation in the Relation Service Parameters: theRelTypeName - - name of the relation type Parameters: theRelObjName - - ObjectName of the relation object if it is a MBean(null for relations internally handled by the Relation Service) Parameters: theUnregMBeanList - - list of ObjectNames of referenced MBeansexpected to be unregistered due to relation removal (onlyfor removal, due to CIM qualifiers, can be null) throws: java.lang.IllegalArgumentException - - if:- no value for the notification type- the notification type is not RELATION_BASIC_CREATION,RELATION_MBEAN_CREATION, RELATION_BASIC_REMOVALor RELATION_MBEAN_REMOVAL- no source object- the source object is not a Relation Service- no relation id- no relation type name |
RelationNotification | public RelationNotification(String theNtfType, Object theSrcObj, long theSeqNbr, long theTimeStamp, String theMsg, String theRelId, String theRelTypeName, ObjectName theRelObjName, String theRoleName, List theNewRoleValue, List theOldRoleValue) throws IllegalArgumentException(Code) | | Creates a notification for a role update in a relation
Parameters: theNtfType - - type of the notification; either:- RELATION_BASIC_UPDATE- RELATION_MBEAN_UPDATE Parameters: theSrcObj - - source object, sending the notification. Will alwaysbe a RelationService object. Parameters: theSeqNbr - - sequence number to identify the notification Parameters: theTimeStamp - - time stamp Parameters: theMsg - - human-readable message describing the notification Parameters: theRelId - - relation id identifying the relation in the Relation Service Parameters: theRelTypeName - - name of the relation type Parameters: theRelObjName - - ObjectName of the relation object if it is a MBean(null for relations internally handled by the Relation Service) Parameters: theRoleName - - name of the updated role Parameters: theNewRoleValue - - new value (ArrayList of ObjectName objects) Parameters: theOldRoleValue - - old value (ArrayList of ObjectName objects) throws: java.lang.IllegalArgumentException - - if null parameter |
getMBeansToUnregister | public List getMBeansToUnregister()(Code) | | Returns the list of ObjectNames of MBeans expected to be unregistered
due to a relation removal (only for relation removal)
The list of ObjectNames of MBeans expected to be unregistereddue to a relation removal |
getNewRoleValue | public List getNewRoleValue()(Code) | | Returns new value of updated role (only for role update)
New role value |
getObjectName | public ObjectName getObjectName()(Code) | | Returns the ObjectName (if the relation is a MBean, else null) of the
created/removed/updated relation
Name of the Object |
getOldRoleValue | public List getOldRoleValue()(Code) | | Returns old value of updated role (only for role update)
The old role value |
getRelationId | public String getRelationId()(Code) | | Returns the relation identifier of created/removed/updated relation
The relation identifier of created/removed/updated relation |
getRelationTypeName | public String getRelationTypeName()(Code) | | Returns the relation type name of created/removed/updated relation
The relation type name of created/removed/updated relation |
getRoleName | public String getRoleName()(Code) | | Returns name of updated role of updated relation (only for role update)
The name of the updated role of updated relation |
|
|