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

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

- - ### Uses of RelationNotFoundException in javax.management.relation

    Methods in javax.management.relation that throw RelationNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `RoleResult` | RelationServiceMBean.`getAllRoles(String relationId)` Returns all roles present in the relation.
    `RoleResult` | RelationService.`getAllRoles(String relationId)` Returns all roles present in the relation.
    `Map<ObjectName,List<String>>` | RelationServiceMBean.`getReferencedMBeans(String relationId)` Retrieves MBeans referenced in the various roles of the relation.
    `Map<ObjectName,List<String>>` | RelationService.`getReferencedMBeans(String relationId)` Retrieves MBeans referenced in the various roles of the relation.
    `String` | RelationServiceMBean.`getRelationTypeName(String relationId)` Returns name of associated relation type for given relation.
    `String` | RelationService.`getRelationTypeName(String relationId)` Returns name of associated relation type for given relation.
    `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` | 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.
    `RoleResult` | RelationServiceMBean.`getRoles(String relationId, String[] roleNameArray)` Retrieves values of roles with given names in given relation.
    `RoleResult` | RelationService.`getRoles(String relationId, String[] roleNameArray)` Retrieves values of roles with given names in given relation.
    `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.
    `ObjectName` | RelationServiceMBean.`isRelationMBean(String relationId)` If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.
    `ObjectName` | RelationService.`isRelationMBean(String relationId)` If the relation is represented by an MBean (created by the user and added as a relation in the Relation Service), returns the ObjectName of the MBean.
    `void` | RelationServiceMBean.`removeRelation(String relationId)` Removes given relation from the Relation Service.
    `void` | RelationService.`removeRelation(String relationId)` Removes given relation from the Relation Service.
    `void` | RelationServiceMBean.`sendRelationCreationNotification(String relationId)` Sends a notification (RelationNotification) for a relation creation.
    `void` | RelationService.`sendRelationCreationNotification(String relationId)` Sends a notification (RelationNotification) for a relation creation.
    `void` | RelationServiceMBean.`sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)` Sends a notification (RelationNotification) for a relation removal.
    `void` | RelationService.`sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)` Sends a notification (RelationNotification) for a relation removal.
    `void` | RelationServiceMBean.`sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldRoleValue)` Sends a notification (RelationNotification) for a role update in the given relation.
    `void` | RelationService.`sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldValue)` Sends a notification (RelationNotification) for a role update in the given relation.
    `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.
    `RoleResult` | RelationSupport.`setRoles(RoleList list)` Sets the given roles.
    `RoleResult` | Relation.`setRoles(RoleList roleList)` Sets the given roles.
    `RoleResult` | RelationServiceMBean.`setRoles(String relationId, RoleList roleList)` Sets the given roles in given relation.
    `RoleResult` | RelationService.`setRoles(String relationId, RoleList roleList)` Sets the given roles 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.
    `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.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

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