Adds the specified object in the set of observed MBeans.
Adds the specified object in the set of observed MBeans.
Parameters: - object - The object to observe.
Throws: - java.lang.IllegalArgumentException - the specified object is null.
public boolean
containsObservedObject
(ObjectName object)
Tests whether the specified object is in the set of observed MBeans.
Tests whether the specified object is in the set of observed MBeans.
Returns:true if the specified object is in the set, false otherwise.
Parameters: - object - The object to check.
Returns an array containing the objects being observed.
Returns an array containing the objects being observed.
Returns:
The objects being observed.
public boolean
isActive
()
Tests if the monitor MBean is active.
Tests if the monitor MBean is active. A monitor MBean is marked active when the start method is called. It becomes inactive when the stop method is called.
Returns:true if the monitor MBean is active, false otherwise.
public void
removeObservedObject
(ObjectName object)
Removes the specified object from the set of observed MBeans.
Removes the specified object from the set of observed MBeans.
Parameters: - object - The object to remove.