public void
addRelation
(ObjectName relationObjectName)
throws
IllegalArgumentException
RelationServiceNotRegisteredException
NoSuchMethodException
InvalidRelationIdException
InstanceNotFoundException
InvalidRelationServiceException
RelationTypeNotFoundException
RoleNotFoundException
InvalidRoleValueException
public void
addRelationType
(RelationType relationTypeObj)
throws
IllegalArgumentException
InvalidRelationTypeException
public Integer
checkRoleReading
(String roleName, String relationTypeName)
throws
IllegalArgumentException
RelationTypeNotFoundException
public Integer
checkRoleWriting
(Role role, String relationTypeName, Boolean initFlag)
throws
IllegalArgumentException
RelationTypeNotFoundException
public void
createRelation
(String relationId, String relationTypeName, RoleList roleList)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RoleNotFoundException
InvalidRelationIdException
RelationTypeNotFoundException
InvalidRoleValueException
public void
createRelationType
(String relationTypeName, RoleInfo roleInfoArray)
throws
IllegalArgumentException
InvalidRelationTypeException
public Map<ObjectName, List<String>>
findAssociatedMBeans
(ObjectName mbeanName, String relationTypeName, String roleName)
throws
IllegalArgumentException
public Map<String, List<String>>
findReferencingRelations
(ObjectName mbeanName, String relationTypeName, String roleName)
throws
IllegalArgumentException
public List<String>
findRelationsOfType
(String relationTypeName)
throws
IllegalArgumentException
RelationTypeNotFoundException
public RoleResult
getAllRoles
(String relationId)
throws
IllegalArgumentException
RelationNotFoundException
RelationServiceNotRegisteredException
public boolean
getPurgeFlag
()
Returns the flag to indicate if when a notification is received for the
unregistration of an MBean referenced in a relation, if an immediate
"purge" of the relations (look for the relations no longer valid)
has to be performed, or if that will be performed only when the
purgeRelations method is explicitly called.
public Map<ObjectName, List<String>>
getReferencedMBeans
(String relationId)
throws
IllegalArgumentException
RelationNotFoundException
public String
getRelationTypeName
(String relationId)
throws
IllegalArgumentException
RelationNotFoundException
public List<ObjectName>
getRole
(String relationId, String roleName)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
RoleNotFoundException
public Integer
getRoleCardinality
(String relationId, String roleName)
throws
IllegalArgumentException
RelationNotFoundException
RoleNotFoundException
public RoleInfo
getRoleInfo
(String relationTypeName, String roleInfoName)
throws
IllegalArgumentException
RelationTypeNotFoundException
RoleInfoNotFoundException
public List<RoleInfo>
getRoleInfos
(String relationTypeName)
throws
IllegalArgumentException
RelationTypeNotFoundException
public RoleResult
getRoles
(String relationId, String roleNameArray)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
public ObjectName
isRelationMBean
(String relationId)
throws
IllegalArgumentException
RelationNotFoundException
public void
removeRelation
(String relationId)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
public void
removeRelationType
(String relationTypeName)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationTypeNotFoundException
public void
sendRelationCreationNotification
(String relationId)
throws
IllegalArgumentException
RelationNotFoundException
public void
sendRelationRemovalNotification
(String relationId, List<ObjectName> unregMBeanList)
throws
IllegalArgumentException
RelationNotFoundException
public void
sendRoleUpdateNotification
(String relationId, Role newRole, List<ObjectName> oldRoleValue)
throws
IllegalArgumentException
RelationNotFoundException
public void
setPurgeFlag
(boolean purgeFlag)
Sets the flag to indicate if when a notification is received for the
unregistration of an MBean referenced in a relation, if an immediate
"purge" of the relations (look for the relations no longer valid)
has to be performed, or if that will be performed only when the
purgeRelations method is explicitly called.
public void
setRole
(String relationId, Role role)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
RoleNotFoundException
InvalidRoleValueException
RelationTypeNotFoundException
public RoleResult
setRoles
(String relationId, RoleList roleList)
throws
RelationServiceNotRegisteredException
IllegalArgumentException
RelationNotFoundException
public void
updateRoleMap
(String relationId, Role newRole, List<ObjectName> oldRoleValue)
throws
IllegalArgumentException
RelationServiceNotRegisteredException
RelationNotFoundException