# Uses of Class
javax.management.relation.RelationTypeNotFoundException

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

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

  Methods in javax.management.relation that throw RelationTypeNotFoundException
  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.
  `Integer`
  RelationService.`checkRoleReading(String roleName, String relationTypeName)`
  Checks if given Role can be read in a relation of the given type.
  `Integer`
  RelationServiceMBean.`checkRoleReading(String roleName, String relationTypeName)`
  Checks if given Role can be read in a relation of the given type.
  `Integer`
  RelationService.`checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)`
  Checks if given Role can be set in a relation of given type.
  `Integer`
  RelationServiceMBean.`checkRoleWriting(Role role, String relationTypeName, Boolean initFlag)`
  Checks if given Role can be set in a relation of given type.
  `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.
  `List<String>`
  RelationService.`findRelationsOfType(String relationTypeName)`
  Returns the relation ids for relations of the given type.
  `List<String>`
  RelationServiceMBean.`findRelationsOfType(String relationTypeName)`
  Returns the relation ids for relations of the given type.
  `RoleInfo`
  RelationService.`getRoleInfo(String relationTypeName, String roleInfoName)`
  Retrieves role info for given role name of a given relation type.
  `RoleInfo`
  RelationServiceMBean.`getRoleInfo(String relationTypeName, String roleInfoName)`
  Retrieves role info for given role of a given relation type.
  `List<RoleInfo>`
  RelationService.`getRoleInfos(String relationTypeName)`
  Retrieves list of role infos (RoleInfo objects) of a given relation type.
  `List<RoleInfo>`
  RelationServiceMBean.`getRoleInfos(String relationTypeName)`
  Retrieves list of role infos (RoleInfo objects) of a given relation type.
  `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.`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`
  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`
  RelationSupport.`setRoles(RoleList list)`
  Sets the given roles.