Class Overview
This class describes the various problems which can be encountered when
accessing a role.
Summary
Constants |
int |
LESS_THAN_MIN_ROLE_DEGREE |
Problem type when trying to set a role value with less ObjectNames than
the minimum expected cardinality. |
int |
MORE_THAN_MAX_ROLE_DEGREE |
Problem type when trying to set a role value with more ObjectNames than
the maximum expected cardinality. |
int |
NO_ROLE_WITH_NAME |
Problem type when trying to access an unknown role. |
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. |
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. |
int |
ROLE_NOT_READABLE |
Problem type when trying to read a non-readable attribute. |
int |
ROLE_NOT_WRITABLE |
Problem type when trying to update a non-writable attribute. |
Public Methods |
static
boolean
|
isRoleStatus(int status)
Returns true if given value corresponds to a known role status, false
otherwise.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
Constants
public
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.
Constant Value:
4
(0x00000004)
public
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.
Constant Value:
5
(0x00000005)
public
static
final
int
NO_ROLE_WITH_NAME
Problem type when trying to access an unknown role.
Constant Value:
1
(0x00000001)
public
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.
Constant Value:
7
(0x00000007)
public
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.
Constant Value:
6
(0x00000006)
public
static
final
int
ROLE_NOT_READABLE
Problem type when trying to read a non-readable attribute.
Constant Value:
2
(0x00000002)
public
static
final
int
ROLE_NOT_WRITABLE
Problem type when trying to update a non-writable attribute.
Constant Value:
3
(0x00000003)
Public Constructors
Public Methods
public
static
boolean
isRoleStatus
(int status)
Returns true if given value corresponds to a known role status, false
otherwise.
Returns
- true if this value is a known role status.