The serialVersionUID of this class is 2504952983494636987L
.
Modifier and Type | Field and Description |
---|---|
private static boolean | |
private String | |
private boolean | |
private boolean | |
private int | |
private int | |
private String | |
private static final ObjectStreamField[] | |
private static final long | |
private static final ObjectStreamField[] | |
private static final long | |
private String | |
public static final int | ROLE_CARDINALITY_INFINITY
To specify an unlimited cardinality. |
private static final ObjectStreamField[] | |
private static final long |
Access | Constructor and Description |
---|---|
public | RoleInfo(String
name of the role. roleName, String name of the class of MBean(s) expected to
be referenced in corresponding role. If an MBean M is in
this role, then the MBean server must return true for
mbeanClassName, boolean isInstanceOf(M, mbeanClassName) .flag to indicate if the corresponding role
can be read read, boolean flag to indicate if the corresponding role
can be set write, int minimum degree for role, i.e. minimum number of
MBeans to provide in corresponding role
Must be less than or equal to min, int max .
(ROLE_CARDINALITY_INFINITY for unlimited)maximum degree for role, i.e. maximum number of
MBeans to provide in corresponding role
Must be greater than or equal to max, String min
(ROLE_CARDINALITY_INFINITY for unlimited)description of the role (can be null) descr)Constructor. |
public | RoleInfo(String
name of the role roleName, String name of the class of MBean(s) expected to
be referenced in corresponding role. If an MBean M is in
this role, then the MBean server must return true for
mbeanClassName, boolean isInstanceOf(M, mbeanClassName) .flag to indicate if the corresponding role
can be read read, boolean flag to indicate if the corresponding role
can be set
write)Minimum and maximum degrees defaulted to 1. Description of role defaulted to null. Constructor. |
public | RoleInfo(String
name of the role roleName, String name of the class of MBean(s) expected to
be referenced in corresponding role. If an MBean M is in
this role, then the MBean server must return true for
mbeanClassName)isInstanceOf(M, mbeanClassName) .
IsReadable and IsWritable defaulted to true. Minimum and maximum degrees defaulted to 1. Description of role defaulted to null. Constructor. |
public |
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if lower than or equal to maximum degree, false otherwise.the value to be checked value)Returns true if the |
public boolean | Returns: true if greater than or equal to minimum degree, false otherwise.the value to be checked value)Returns true if the |
public String | |
public int | |
public int | |
public String | |
public String | Returns: the name of the referenced type.Returns name of type of MBean expected to be referenced in corresponding role. |
private void | |
public boolean | Returns: true if the role is readable.Returns read access mode for the role (true if it is readable). |
public boolean | Returns: true if the role is writable.Returns write access mode for the role (true if it is writable). |
private void | |
public String | Returns: a description of the role info.Overrides java. Returns a string describing the role info. |
private void |
compat | back to summary |
---|---|
private static boolean compat |
description | back to summary |
---|---|
private String description |
isReadable | back to summary |
---|---|
private boolean isReadable |
isWritable | back to summary |
---|---|
private boolean isWritable |
maxDegree | back to summary |
---|---|
private int maxDegree |
minDegree | back to summary |
---|---|
private int minDegree |
name | back to summary |
---|---|
private String name |
newSerialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] newSerialPersistentFields |
newSerialVersionUID | back to summary |
---|---|
private static final long newSerialVersionUID |
oldSerialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] oldSerialPersistentFields |
oldSerialVersionUID | back to summary |
---|---|
private static final long oldSerialVersionUID |
referencedMBeanClassName | back to summary |
---|---|
private String referencedMBeanClassName |
ROLE_CARDINALITY_INFINITY | back to summary |
---|---|
public static final int ROLE_CARDINALITY_INFINITY To specify an unlimited cardinality. |
serialPersistentFields | back to summary |
---|---|
private static final ObjectStreamField[] serialPersistentFields
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
RoleInfo | back to summary |
---|---|
public RoleInfo(String roleName, String mbeanClassName, boolean read, boolean write, int min, int max, String descr) throws IllegalArgumentException, InvalidRoleInfoException, ClassNotFoundException, NotCompliantMBeanException Constructor.
|
RoleInfo | back to summary |
---|---|
public RoleInfo(String roleName, String mbeanClassName, boolean read, boolean write) throws IllegalArgumentException, ClassNotFoundException, NotCompliantMBeanException Constructor.
|
RoleInfo | back to summary |
---|---|
public RoleInfo(String roleName, String mbeanClassName) throws IllegalArgumentException, ClassNotFoundException, NotCompliantMBeanException Constructor.
|
RoleInfo | back to summary |
---|---|
public RoleInfo(RoleInfo roleInfo) throws IllegalArgumentException Copy constructor.
|
checkMaxDegree | back to summary |
---|---|
public boolean checkMaxDegree(int value) Returns true if the
|
checkMinDegree | back to summary |
---|---|
public boolean checkMinDegree(int value) Returns true if the
|
getDescription | back to summary |
---|---|
public String getDescription() Returns description text for the role.
|
getMaxDegree | back to summary |
---|---|
public int getMaxDegree() Returns maximum degree for corresponding role reference.
|
getMinDegree | back to summary |
---|---|
public int getMinDegree() Returns minimum degree for corresponding role reference.
|
getName | back to summary |
---|---|
public String getName() Returns the name of the role.
|
getRefMBeanClassName | back to summary |
---|---|
public String getRefMBeanClassName() Returns name of type of MBean expected to be referenced in corresponding role.
|
init | back to summary |
---|---|
private void init(String roleName, String mbeanClassName, boolean read, boolean write, int min, int max, String descr) throws IllegalArgumentException, InvalidRoleInfoException |
isReadable | back to summary |
---|---|
public boolean isReadable() Returns read access mode for the role (true if it is readable).
|
isWritable | back to summary |
---|---|
public boolean isWritable() Returns write access mode for the role (true if it is writable).
|
readObject | back to summary |
---|---|
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Deserializes a |
toString | back to summary |
---|---|
public String toString() Overrides java. Returns a string describing the role info.
|
writeObject | back to summary |
---|---|
private void writeObject(ObjectOutputStream out) throws IOException Serializes a |