| com.sun.jbi.management.MBeanSet
All known Subclasses: com.sun.jbi.management.support.MBeanSet,
MBeanSet | public interface MBeanSet (Code) | | MBeanSet is used to manage a set of Standard MBean's. We provide methods
that to operate on the set as a whole; for example register and
deregister the set.
All operations are keyed by the Object Name of the MBean.
author: Sun Microsystems, Inc. |
Method Summary | |
boolean | add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter) Add an Standard MBean to the Set that can potentially emit JMX notifications.
Parameters: theMBeanName - - the object name of the mbean to add. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. Parameters: isEmitter - - true if this MBean wants to emit jmx notifications. | boolean | add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation) Add an Standard MBean to the Set that will not emit notifications.
Parameters: theMBeanName - - the object name of the mbean to add. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. | boolean | delete(ObjectName theMBeanName) Delete an MBean from an existing MBean Set.
Parameters: theMBeanName - - the object name of the mbean to delete. | void | dump(String aTitle) dump contents of an MBeanSet to the log. | boolean | exists(ObjectName theMBeanName) True if an MBean exists in the named MBean Set.
Parameters: theMBeanName - - the object name of the mbean to check. | boolean | isRegistered(ObjectName theMBeanName) True if an MBean is part of this set and is registered.
Parameters: theMBeanName - - the object name of the mbean to check. | boolean | register() Register all of the MBean's in an MBean Set. | boolean | replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter) Replace a Standard MBean in the Set that can potentially emit JMX notifications.
Parameters: theMBeanName - - the object name of the mbean to replace. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. Parameters: isEmitter - - true if this MBean wants to emit jmx notifications. | boolean | replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation) Replace a Standard MBean in the Set.
Parameters: theMBeanName - - the object name of the mbean to replace. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. | boolean | unregister() Unregister all of the MBean's in an MBean Set. |
add | boolean add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter)(Code) | | Add an Standard MBean to the Set that can potentially emit JMX notifications.
Parameters: theMBeanName - - the object name of the mbean to add. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. Parameters: isEmitter - - true if this MBean wants to emit jmx notifications. true if mbean is added to the set, otherwise false. |
add | boolean add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation)(Code) | | Add an Standard MBean to the Set that will not emit notifications.
Parameters: theMBeanName - - the object name of the mbean to add. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. true if mbean is added to the set, otherwise false. |
delete | boolean delete(ObjectName theMBeanName)(Code) | | Delete an MBean from an existing MBean Set.
Parameters: theMBeanName - - the object name of the mbean to delete. true if the MBean is deleted from the set, otherwise false. |
dump | void dump(String aTitle)(Code) | | dump contents of an MBeanSet to the log.
Parameters: aTitle - - the title of the dump. |
exists | boolean exists(ObjectName theMBeanName)(Code) | | True if an MBean exists in the named MBean Set.
Parameters: theMBeanName - - the object name of the mbean to check. true if the MBean exists in the set, otherwise false. |
isRegistered | boolean isRegistered(ObjectName theMBeanName)(Code) | | True if an MBean is part of this set and is registered.
Parameters: theMBeanName - - the object name of the mbean to check. true if the MBean exists in the set, otherwise false. |
register | boolean register()(Code) | | Register all of the MBean's in an MBean Set.
Okay if some are already registered.
Ignores null entries.
To re-register, you must unregister the named object before
registering the set.
true iff all mbeans are now registered. |
replace | boolean replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter)(Code) | | Replace a Standard MBean in the Set that can potentially emit JMX notifications.
Parameters: theMBeanName - - the object name of the mbean to replace. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. Parameters: isEmitter - - true if this MBean wants to emit jmx notifications. true if mbean is replaced in the set, otherwise false. |
replace | boolean replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation)(Code) | | Replace a Standard MBean in the Set.
Parameters: theMBeanName - - the object name of the mbean to replace. Parameters: theMBeanDefinition - - the interface that defines the MBean. Parameters: theMBeanImplementation - - an instance of the MBean implementation class. true if mbean is replaced in the set, otherwise false. |
unregister | boolean unregister()(Code) | | Unregister all of the MBean's in an MBean Set.
It is not an error to unregister an MBean that is not registered.
true iff all mbeans are unregistered. |
|
|