- java.lang.Object
- 
- javax.management.relation.RoleStatus
 
- 
 
 public class RoleStatus extends Object This class describes the various problems which can be encountered when accessing a role.- Since:
- 1.5
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intLESS_THAN_MIN_ROLE_DEGREEProblem type when trying to set a role value with less ObjectNames than the minimum expected cardinality.static intMORE_THAN_MAX_ROLE_DEGREEProblem type when trying to set a role value with more ObjectNames than the maximum expected cardinality.static intNO_ROLE_WITH_NAMEProblem type when trying to access an unknown role.static intREF_MBEAN_NOT_REGISTEREDProblem type when trying to set a role value including the ObjectName of a MBean not registered in the MBean Server.static intREF_MBEAN_OF_INCORRECT_CLASSProblem type when trying to set a role value including the ObjectName of a MBean not of the class expected for that role.static intROLE_NOT_READABLEProblem type when trying to read a non-readable attribute.static intROLE_NOT_WRITABLEProblem type when trying to update a non-writable attribute.
 - 
Constructor SummaryConstructors Constructor Description RoleStatus()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisRoleStatus(int status)Returns true if given value corresponds to a known role status, false otherwise.
 
- 
- 
- 
Field Detail- 
NO_ROLE_WITH_NAMEpublic static final int NO_ROLE_WITH_NAME Problem type when trying to access an unknown role.- See Also:
- Constant Field Values
 
 - 
ROLE_NOT_READABLEpublic static final int ROLE_NOT_READABLE Problem type when trying to read a non-readable attribute.- See Also:
- Constant Field Values
 
 - 
ROLE_NOT_WRITABLEpublic static final int ROLE_NOT_WRITABLE Problem type when trying to update a non-writable attribute.- See Also:
- Constant Field Values
 
 - 
LESS_THAN_MIN_ROLE_DEGREEpublic static final int LESS_THAN_MIN_ROLE_DEGREE Problem type when trying to set a role value with less ObjectNames than the minimum expected cardinality.- See Also:
- Constant Field Values
 
 - 
MORE_THAN_MAX_ROLE_DEGREEpublic static final int MORE_THAN_MAX_ROLE_DEGREE Problem type when trying to set a role value with more ObjectNames than the maximum expected cardinality.- See Also:
- Constant Field Values
 
 - 
REF_MBEAN_OF_INCORRECT_CLASSpublic static final int REF_MBEAN_OF_INCORRECT_CLASS Problem type when trying to set a role value including the ObjectName of a MBean not of the class expected for that role.- See Also:
- Constant Field Values
 
 - 
REF_MBEAN_NOT_REGISTEREDpublic static final int REF_MBEAN_NOT_REGISTERED Problem type when trying to set a role value including the ObjectName of a MBean not registered in the MBean Server.- See Also:
- Constant Field Values
 
 
- 
 
-