# Uses of Class
javax.management.relation.RelationServiceNotRegisteredException

Packages that use RelationServiceNotRegisteredException
Package
Description
javax.management.relation
Provides the definition of the Relation Service.

## Uses of RelationServiceNotRegisteredException in javax.management.relation

Methods in javax.management.relation that throw RelationServiceNotRegisteredException
Modifier and Type
Method
Description
`void`
RelationService.`addRelation(ObjectName relationObjectName)`
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
`void`
RelationServiceMBean.`addRelation(ObjectName relationObjectName)`
Adds an MBean created by the user (and registered by him in the MBean Server) as a relation in the Relation Service.
`void`
RelationService.`createRelation(String relationId, String relationTypeName, RoleList roleList)`
Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.
`void`
RelationServiceMBean.`createRelation(String relationId, String relationTypeName, RoleList roleList)`
Creates a simple relation (represented by a RelationSupport object) of given relation type, and adds it in the Relation Service.
`RoleResult`
Relation.`getAllRoles()`
Returns all roles present in the relation.
`RoleResult`
RelationService.`getAllRoles(String relationId)`
Returns all roles present in the relation.
`RoleResult`
RelationServiceMBean.`getAllRoles(String relationId)`
Returns all roles present in the relation.
`RoleResult`
RelationSupport.`getAllRoles()`
Returns all roles present in the relation.
`List<ObjectName>`
Relation.`getRole(String roleName)`
Retrieves role value for given role name.
`List<ObjectName>`
RelationService.`getRole(String relationId, String roleName)`
Retrieves role value for given role name in given relation.
`List<ObjectName>`
RelationServiceMBean.`getRole(String relationId, String roleName)`
Retrieves role value for given role name in given relation.
`List<ObjectName>`
RelationSupport.`getRole(String roleName)`
Retrieves role value for given role name.
`RoleResult`
Relation.`getRoles(String[] roleNameArray)`
Retrieves values of roles with given names.
`RoleResult`
RelationService.`getRoles(String relationId, String[] roleNameArray)`
Retrieves values of roles with given names in given relation.
`RoleResult`
RelationServiceMBean.`getRoles(String relationId, String[] roleNameArray)`
Retrieves values of roles with given names in given relation.
`RoleResult`
RelationSupport.`getRoles(String[] roleNameArray)`
Retrieves values of roles with given names.
`void`
Relation.`handleMBeanUnregistration(ObjectName objectName, String roleName)`
Callback used by the Relation Service when a MBean referenced in a role is unregistered.
`void`
RelationSupport.`handleMBeanUnregistration(ObjectName objectName, String roleName)`
Callback used by the Relation Service when a MBean referenced in a role is unregistered.
`void`
RelationService.`isActive()`
Checks if the Relation Service is active.
`void`
RelationServiceMBean.`isActive()`
Checks if the Relation Service is active.
`void`
RelationService.`purgeRelations()`
Purges the relations.
`void`
RelationServiceMBean.`purgeRelations()`
Purges the relations.
`void`
RelationService.`removeRelation(String relationId)`
Removes given relation from the Relation Service.
`void`
RelationServiceMBean.`removeRelation(String relationId)`
Removes given relation from the Relation Service.
`void`
RelationService.`removeRelationType(String relationTypeName)`
Removes given relation type from Relation Service.
`void`
RelationServiceMBean.`removeRelationType(String relationTypeName)`
Removes given relation type from Relation Service.
`void`
Relation.`setRole(Role role)`
Sets the given role.
`void`
RelationService.`setRole(String relationId, Role role)`
Sets the given role in given relation.
`void`
RelationServiceMBean.`setRole(String relationId, Role role)`
Sets the given role in given relation.
`void`
RelationSupport.`setRole(Role role)`
Sets the given role.
`RoleResult`
Relation.`setRoles(RoleList roleList)`
Sets the given roles.
`RoleResult`
RelationService.`setRoles(String relationId, RoleList roleList)`
Sets the given roles in given relation.
`RoleResult`
RelationServiceMBean.`setRoles(String relationId, RoleList roleList)`
Sets the given roles in given relation.
`RoleResult`
RelationSupport.`setRoles(RoleList list)`
Sets the given roles.
`void`
RelationService.`updateRoleMap(String relationId, Role newRole, List<ObjectName> oldValue)`
Handles update of the Relation Service role map for the update of given role in given relation.
`void`
RelationServiceMBean.`updateRoleMap(String relationId, Role newRole, List<ObjectName> oldRoleValue)`
Handles update of the Relation Service role map for the update of given role in given relation.