# 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
Description
`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.
`RoleInfo`
RelationType.`getRoleInfo(String roleInfoName)`
Returns the role info (RoleInfo object) for the given role info name (null if not found).
`RoleInfo`
RelationTypeSupport.`getRoleInfo(String roleInfoName)`
Returns the role info (RoleInfo object) for the given role info name (null if not found).
Methods in javax.management.relation that return types with arguments of type RoleInfo
Modifier and Type
Method
Description
`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.
`List<RoleInfo>`
RelationType.`getRoleInfos()`
Returns the list of role definitions (ArrayList of RoleInfo objects).
`List<RoleInfo>`
RelationTypeSupport.`getRoleInfos()`
Returns the list of role definitions (ArrayList of RoleInfo objects).
Methods in javax.management.relation with parameters of type RoleInfo
Modifier and Type
Method
Description
`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
Modifier
Constructor
Description
``
`RelationTypeSupport(String relationTypeName, RoleInfo[] roleInfoArray)`
Constructor where all role definitions are dynamically created and passed as parameter.
``
`RoleInfo(RoleInfo roleInfo)`
Copy constructor.