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

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

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

    Methods in javax.management.relation that return RoleInfo
    Modifier and Type | Method and Description
    --- | ---
    `RoleInfo` | RelationTypeSupport.`getRoleInfo(String roleInfoName)` Returns the role info (RoleInfo object) for the given role info name (null if not found).
    `RoleInfo` | RelationType.`getRoleInfo(String roleInfoName)` Returns the role info (RoleInfo object) for the given role info name (null if not found).
    `RoleInfo` | RelationServiceMBean.`getRoleInfo(String relationTypeName, String roleInfoName)` Retrieves role info for given role of a given relation type.
    `RoleInfo` | RelationService.`getRoleInfo(String relationTypeName, String roleInfoName)` Retrieves role info for given role name of a given relation type.

    Methods in javax.management.relation that return types with arguments of type RoleInfo
    Modifier and Type | Method and Description
    --- | ---
    `List<RoleInfo>` | RelationTypeSupport.`getRoleInfos()` Returns the list of role definitions (ArrayList of RoleInfo objects).
    `List<RoleInfo>` | RelationType.`getRoleInfos()` Returns the list of role definitions (ArrayList of RoleInfo objects).
    `List<RoleInfo>` | RelationServiceMBean.`getRoleInfos(String relationTypeName)` Retrieves list of role infos (RoleInfo objects) of a given relation type.
    `List<RoleInfo>` | RelationService.`getRoleInfos(String relationTypeName)` Retrieves list of role infos (RoleInfo objects) of a given relation type.

    Methods in javax.management.relation with parameters of type RoleInfo
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | RelationTypeSupport.`addRoleInfo(RoleInfo roleInfo)` Add a role info.
    `void` | RelationServiceMBean.`createRelationType(String relationTypeName, RoleInfo[] roleInfoArray)` Creates a relation type (RelationTypeSupport object) with given role infos (provided by the RoleInfo objects), and adds it in the Relation Service.
    `void` | RelationService.`createRelationType(String relationTypeName, RoleInfo[] roleInfoArray)` Creates a relation type (a RelationTypeSupport object) with given role infos (provided by the RoleInfo objects), and adds it in the Relation Service.

    Constructors in javax.management.relation with parameters of type RoleInfo
    Constructor and Description
    `RelationTypeSupport(String relationTypeName, RoleInfo[] roleInfoArray)` Constructor where all role definitions are dynamically created and passed as parameter.
    `RoleInfo(RoleInfo roleInfo)` Copy constructor.

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, 2015, Oracle and/or its affiliates. All rights reserved.