| Package | Description | 
|---|---|
| javax.management.relation | Provides the definition of the Relation Service. | 
| Modifier and Type | Method and Description | 
|---|---|
| RoleResult | RelationSupport. getAllRoles()Returns all roles present in the relation. | 
| RoleResult | Relation. 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. | 
| RoleResult | RelationSupport. getRoles(String[] roleNameArray)Retrieves values of roles with given names. | 
| RoleResult | Relation. 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. | 
| 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. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.