| java.lang.Object | |
| ↳ | javax.management.relation.Role |
Represents a role: includes a role name and referenced MBeans (via their ObjectNames). The role value is always represented as an ArrayList collection (of ObjectNames) to homogenize the access.
The serialVersionUID of this class is -279985518429862552L.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Make a new Role object. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Clone the role object.
| |||||||||||
Retrieves role name.
| |||||||||||
Retrieves role value.
| |||||||||||
Returns a string for the given role value.
| |||||||||||
Sets role name.
| |||||||||||
Sets role value.
| |||||||||||
Returns a string describing the role.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Make a new Role object. No check is made that the ObjectNames in the role value exist in an MBean server. That check will be made when the role is set in a relation.
| roleName | role name |
|---|---|
| roleValue | role value (List of ObjectName objects) |
| IllegalArgumentException | if null parameter |
|---|
Clone the role object.
Retrieves role value.
Returns a string for the given role value.
| roleValue | List of ObjectName objects |
|---|
| IllegalArgumentException | if null parameter |
|---|
Sets role name.
| roleName | role name |
|---|
| IllegalArgumentException | if null parameter |
|---|
Sets role value.
| roleValue | List of ObjectName objects for referenced MBeans. |
|---|
| IllegalArgumentException | if null parameter |
|---|
Returns a string describing the role.