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

Packages that use RoleInfo
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
`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` 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.

Methods in javax.management.relation that return types with arguments of type RoleInfo
`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>` 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.

Methods in javax.management.relation with parameters of type RoleInfo
`protected void` RelationTypeSupport.`addRoleInfo(RoleInfo roleInfo)` Add a role info.
`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.
`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.

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.