| Package | Description | 
|---|---|
| javax.management.relation | Provides the definition of the Relation Service. | 
| 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. | 
| RoleResult | Relation. getAllRoles()Returns all roles present in the relation. | 
| RoleResult | RelationSupport. getAllRoles()Returns all roles present in the relation. | 
| RoleResult | RelationServiceMBean. getAllRoles(String relationId)Returns all roles present in the relation. | 
| RoleResult | RelationService. getAllRoles(String relationId)Returns all roles present in the relation. | 
| List<ObjectName> | Relation. getRole(String roleName)Retrieves role value for given role name. | 
| List<ObjectName> | RelationSupport. 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. | 
| RoleResult | Relation. getRoles(String[] roleNameArray)Retrieves values of roles with given names. | 
| RoleResult | RelationSupport. getRoles(String[] roleNameArray)Retrieves values of roles with given names. | 
| 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 | 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 | RelationServiceMBean. isActive()Checks if the Relation Service is active. | 
| void | RelationService. isActive()Checks if the Relation Service is active. | 
| void | RelationServiceMBean. purgeRelations()Purges the relations. | 
| void | RelationService. purgeRelations()Purges the relations. | 
| 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. removeRelationType(String relationTypeName)Removes given relation type from Relation Service. | 
| void | RelationService. removeRelationType(String relationTypeName)Removes given relation type from Relation Service. | 
| void | Relation. setRole(Role role)Sets the given role. | 
| void | RelationSupport. 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 | Relation. setRoles(RoleList roleList)Sets the given roles. | 
| RoleResult | RelationSupport. setRoles(RoleList list)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, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.