## Uses of Class
javax.management.relation.RoleNotFoundException

Packages that use RoleNotFoundException
Package | Description
--- | ---
javax.management.relation | Provides the definition of the Relation Service.

### Uses of RoleNotFoundException in javax.management.relation

Methods in javax.management.relation that throw RoleNotFoundException
Modifier and Type | Method and Description
--- | ---
`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.`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.`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` | 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.
`List<ObjectName>` | RelationSupport.`getRole(String roleName)` Retrieves role value for given role name.
`List<ObjectName>` | Relation.`getRole(String roleName)` Retrieves role value for given role name.
`List<ObjectName>` | RelationServiceMBean.`getRole(String relationId, String roleName)` Retrieves role value for given role name in given relation.
`List<ObjectName>` | RelationService.`getRole(String relationId, String roleName)` Retrieves role value for given role name in given relation.
`Integer` | RelationSupport.`getRoleCardinality(String roleName)` Returns the number of MBeans currently referenced in the given role.
`Integer` | Relation.`getRoleCardinality(String roleName)` Returns the number of MBeans currently referenced in the given role.
`Integer` | RelationServiceMBean.`getRoleCardinality(String relationId, String roleName)` Retrieves the number of MBeans currently referenced in the given role.
`Integer` | RelationService.`getRoleCardinality(String relationId, String roleName)` Retrieves the number of MBeans currently referenced in the given role.
`void` | RelationSupport.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
`void` | Relation.`handleMBeanUnregistration(ObjectName objectName, String roleName)` Callback used by the Relation Service when a MBean referenced in a role is unregistered.
`void` | RelationSupport.`setRole(Role role)` Sets the given role.
`void` | Relation.`setRole(Role role)` Sets the given role.
`void` | RelationServiceMBean.`setRole(String relationId, Role role)` Sets the given role in given relation.
`void` | RelationService.`setRole(String relationId, Role role)` Sets the given role in given relation.

Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.