Class: javax.management.relation.Role
- @SuppressWarnings(value={"serial"})
- public class Role
- implements Serializable
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.
Methods
-
Roletop
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.
-
clonetop
public Object clone()Clone the role object. -
getRoleNametop
public String getRoleName()Retrieves role name. -
getRoleValuetop
public List<ObjectName> getRoleValue()Retrieves role value. -
roleValueToStringtop
Returns a string for the given role value. -
setRoleNametop
public void setRoleName(String roleName) throws IllegalArgumentExceptionSets role name. -
setRoleValuetop
Sets role value. -
toStringtop
public String toString()Returns a string describing the role.
