Class Overview
Base class for Standard MBeans.
Summary
Public Constructors |
<T>
|
StandardMBeanSupport(T resource, Class<T> mbeanInterface)
Construct a Standard MBean that wraps the given resource using the
given Standard MBean interface.
|
[Expand]
Inherited Methods |
From class
com.sun.jmx.mbeanserver.MBeanSupport
|
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.
|
|
From interface
com.sun.jmx.mbeanserver.DynamicMBean2
|
From interface
javax.management.DynamicMBean
|
From interface
javax.management.MBeanRegistration
abstract
void
|
postDeregister()
Allows the MBean to perform any operations needed after having been
unregistered in the MBean server.
|
abstract
void
|
postRegister(Boolean registrationDone)
Allows the MBean to perform any operations needed after having been
registered in the MBean server or after the registration has failed.
|
abstract
void
|
preDeregister()
Allows the MBean to perform any operations it needs before
being unregistered by the MBean server.
|
abstract
ObjectName
|
preRegister(MBeanServer server, ObjectName name)
Allows the MBean to perform any operations it needs before
being registered in the MBean server.
|
|
Public Constructors
public
StandardMBeanSupport
(T resource, Class<T> mbeanInterface)
Construct a Standard MBean that wraps the given resource using the
given Standard MBean interface.
Parameters
resource
| the underlying resource for the new MBean. |
mbeanInterface
| the interface to be used to determine
the MBean's management interface. |
Public Methods
public
MBeanInfo
getMBeanInfo
()
Provides the exposed attributes and actions of the Dynamic MBean using an MBeanInfo object.
Returns
- An instance of
MBeanInfo
allowing all attributes and actions
exposed by this Dynamic MBean to be retrieved.
public
void
unregister
()