The serialVersionUID of this class is -6871117877523310399L
.
Modifier and Type | Field and Description |
---|---|
private static boolean | |
private List | |
private static final ObjectStreamField[] | |
private static final long | |
private List | |
private static final ObjectStreamField[] | |
private static final long | |
public static final String | RELATION_BASIC_CREATION
Type for the creation of an internal relation. |
public static final String | RELATION_BASIC_REMOVAL
Type for the removal from the Relation Service of an internal relation. |
public static final String | RELATION_BASIC_UPDATE
Type for an update of an internal relation. |
public static final String | RELATION_MBEAN_CREATION
Type for the relation MBean added into the Relation Service. |
public static final String | RELATION_MBEAN_REMOVAL
Type for the removal from the Relation Service of a relation MBean. |
public static final String | RELATION_MBEAN_UPDATE
Type for the update of a relation MBean. |
private String | |
private ObjectName | |
private String | |
private String | |
private static final ObjectStreamField[] | |
private static final long | |
private List |
Access | Constructor and Description |
---|---|
public | RelationNotification(String
type of the notification; either:
notifType, Object - RELATION_BASIC_CREATION - RELATION_MBEAN_CREATION - RELATION_BASIC_REMOVAL - RELATION_MBEAN_REMOVAL source object, sending the notification. This is either
an ObjectName or a RelationService object. In the latter case it must be
the MBean emitting the notification; the MBean Server will rewrite the
source to be the ObjectName under which that MBean is registered. sourceObj, long sequence number to identify the notification sequence, long time stamp timeStamp, String human-readable message describing the notification message, String relation id identifying the relation in the Relation
Service id, String name of the relation type typeName, ObjectName ObjectName of the relation object if it is an MBean
(null for relations internally handled by the Relation Service) objectName, List<ObjectName> list of ObjectNames of referenced MBeans
expected to be unregistered due to relation removal (only for removal,
due to CIM qualifiers, can be null) unregMBeanList)Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service. |
public | RelationNotification(String
type of the notification; either:
notifType, Object - RELATION_BASIC_UPDATE - RELATION_MBEAN_UPDATE source object, sending the notification. This is either
an ObjectName or a RelationService object. In the latter case it must be
the MBean emitting the notification; the MBean Server will rewrite the
source to be the ObjectName under which that MBean is registered. sourceObj, long sequence number to identify the notification sequence, long time stamp timeStamp, String human-readable message describing the notification message, String relation id identifying the relation in the Relation
Service id, String name of the relation type typeName, ObjectName ObjectName of the relation object if it is an MBean
(null for relations internally handled by the Relation Service) objectName, String name of the updated role name, List<ObjectName> new role value (List of ObjectName objects) newValue, List<ObjectName> old role value (List of ObjectName objects) oldValue)Creates a notification for a role update in a relation. |
Modifier and Type | Method and Description |
---|---|
public List | getMBeansToUnregister()
Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal). |
public List | Returns: the new value of the updated role.Returns new value of updated role (only for role update). |
public ObjectName | Returns: the ObjectName if the relation is an MBean, otherwise null.Returns the ObjectName of the created/removed/updated relation. |
public List | Returns: the old value of the updated role.Returns old value of updated role (only for role update). |
public String | Returns: the relation id.Returns the relation identifier of created/removed/updated relation. |
public String | Returns: the relation type name.Returns the relation type name of created/removed/updated relation. |
public String | Returns: the name of the updated role.Returns name of updated role of updated relation (only for role update). |
private boolean | |
private boolean | |
private boolean | |
private boolean | |
private void | readObject(ObjectInputStream in)
Hides javax. RelationNotification from an ObjectInputStream .
|
private ObjectName | |
private ArrayList | |
private void | writeObject(ObjectOutputStream out)
Hides javax. RelationNotification to an ObjectOutputStream .
|
compat | back to summary |
---|---|
private static boolean compat |
newRoleValue | back to summary |
---|---|
private List<ObjectName> newRoleValue |
newSerialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] newSerialPersistentFields Hides javax. |
newSerialVersionUID | back to summary |
---|---|
private static final long newSerialVersionUID |
oldRoleValue | back to summary |
---|---|
private List<ObjectName> oldRoleValue |
oldSerialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] oldSerialPersistentFields Hides javax. |
oldSerialVersionUID | back to summary |
---|---|
private static final long oldSerialVersionUID |
RELATION_BASIC_CREATION | back to summary |
---|---|
public static final String RELATION_BASIC_CREATION Type for the creation of an internal relation. |
RELATION_BASIC_REMOVAL | back to summary |
---|---|
public static final String RELATION_BASIC_REMOVAL Type for the removal from the Relation Service of an internal relation. |
RELATION_BASIC_UPDATE | back to summary |
---|---|
public static final String RELATION_BASIC_UPDATE Type for an update of an internal relation. |
RELATION_MBEAN_CREATION | back to summary |
---|---|
public static final String RELATION_MBEAN_CREATION Type for the relation MBean added into the Relation Service. |
RELATION_MBEAN_REMOVAL | back to summary |
---|---|
public static final String RELATION_MBEAN_REMOVAL Type for the removal from the Relation Service of a relation MBean. |
RELATION_MBEAN_UPDATE | back to summary |
---|---|
public static final String RELATION_MBEAN_UPDATE Type for the update of a relation MBean. |
relationId | back to summary |
---|---|
private String relationId |
relationObjName | back to summary |
---|---|
private ObjectName relationObjName |
relationTypeName | back to summary |
---|---|
private String relationTypeName |
roleName | back to summary |
---|---|
private String roleName |
serialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] serialPersistentFields Hides javax.
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
unregisterMBeanList | back to summary |
---|---|
private List<ObjectName> unregisterMBeanList |
RelationNotification | back to summary |
---|---|
public RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList) throws IllegalArgumentException Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service.
|
RelationNotification | back to summary |
---|---|
public RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue) throws IllegalArgumentException Creates a notification for a role update in a relation.
|
getMBeansToUnregister | back to summary |
---|---|
public List Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).
|
getNewRoleValue | back to summary |
---|---|
public List Returns new value of updated role (only for role update).
|
getObjectName | back to summary |
---|---|
public ObjectName getObjectName() Returns the ObjectName of the created/removed/updated relation.
|
getOldRoleValue | back to summary |
---|---|
public List Returns old value of updated role (only for role update).
|
getRelationId | back to summary |
---|---|
public String getRelationId() Returns the relation identifier of created/removed/updated relation.
|
getRelationTypeName | back to summary |
---|---|
public String getRelationTypeName() Returns the relation type name of created/removed/updated relation.
|
getRoleName | back to summary |
---|---|
public String getRoleName() Returns name of updated role of updated relation (only for role update).
|
isValidBasic | back to summary |
---|---|
private boolean isValidBasic(String notifType, Object sourceObj, String id, String typeName) |
isValidBasicStrict | back to summary |
---|---|
private boolean isValidBasicStrict(String notifType, Object sourceObj, String id, String typeName) |
isValidCreate | back to summary |
---|---|
private boolean isValidCreate(String notifType) |
isValidUpdate | back to summary |
---|---|
private boolean isValidUpdate(String notifType, String name, List<ObjectName> newValue, List<ObjectName> oldValue) |
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Hides javax. Deserializes a |
safeGetObjectName | back to summary |
---|---|
private ObjectName safeGetObjectName(ObjectName src) |
safeGetObjectNameList | back to summary |
---|---|
private ArrayList |
writeObject | back to summary |
---|---|
private void writeObject(ObjectOutputStream out) throws IOException Hides javax. Serializes a |