|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.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.
| Constructor Summary | |
Role(String theRoleName,
List theRoleValue)
Make a new Role object. |
|
| Method Summary | |
Object |
clone()
Clone the role object. |
String |
getRoleName()
Retrieves role name. |
List |
getRoleValue()
Retrieves role value. |
static String |
roleValueToString(List theRoleValue)
Returns a string for the given role value. |
void |
setRoleName(String theRoleName)
Sets role name. |
void |
setRoleValue(List theRoleValue)
Sets role value. |
String |
toString()
Returns a string describing the role. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Role(String theRoleName,
List theRoleValue)
throws IllegalArgumentException
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.
theRoleName - role nametheRoleValue - role value (List of ObjectName objects)
IllegalArgumentException - if null parameter| Method Detail |
public String getRoleName()
setRoleName(java.lang.String)public List getRoleValue()
setRoleValue(java.util.List)
public void setRoleName(String theRoleName)
throws IllegalArgumentException
theRoleName - role name
IllegalArgumentException - if null parametergetRoleName()
public void setRoleValue(List theRoleValue)
throws IllegalArgumentException
theRoleValue - List of ObjectName objects for referenced
MBeans.
IllegalArgumentException - if null parametergetRoleValue()public String toString()
public Object clone()
public static String roleValueToString(List theRoleValue)
throws IllegalArgumentException
theRoleValue - List of ObjectName objects
IllegalArgumentException - if null parameter
|
JMX Specification 1.2 Maintenance Release Generated from RI build jmx-1_2_2_03-b34.2 2005.11.28_17:31:59_MET |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||