| Constructor and Description |
|---|
MBeanSet(MBeanServer aMBeanServer,
Logger aLogger)
Constructs a
MBeanSet. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(ObjectName theMBeanName,
Class theMBeanDefinition,
Object theMBeanImplementation)
Add an Standard MBean to the Set that will not emit notifications.
|
boolean |
add(ObjectName theMBeanName,
Class theMBeanDefinition,
Object theMBeanImplementation,
boolean isEmitter)
Add an Standard MBean to the Set that can potentially emit JMX notifications.
|
boolean |
delete(ObjectName theMBeanName)
Delete an MBean from an existing MBean Set.
|
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.
|
boolean |
isRegistered(ObjectName theMBeanName)
True if an MBean is part of this set and is registered.
|
boolean |
register()
Register all of the MBean's in an MBean Set.
|
boolean |
replace(ObjectName theMBeanName,
Class theMBeanDefinition,
Object theMBeanImplementation)
Replace a Standard MBean in the Set.
|
boolean |
replace(ObjectName theMBeanName,
Class theMBeanDefinition,
Object theMBeanImplementation,
boolean isEmitter)
Replace a Standard MBean in the Set that can potentially emit JMX notifications.
|
boolean |
unregister()
Unregister all of the MBean's in an MBean Set.
|
public MBeanSet(MBeanServer aMBeanServer, Logger aLogger)
MBeanSet.aMBeanServer - is the MBean server provided by the framework.aLogger - is where this class should log messages.public boolean add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter)
add in interface MBeanSettheMBeanName - - the object name of the mbean to add.theMBeanDefinition - - the interface that defines the MBean.theMBeanImplementation - - an instance of the MBean implementation class.isEmitter - - true if this MBean wants to emit jmx notifications.public boolean add(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation)
public boolean replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation, boolean isEmitter)
replace in interface MBeanSettheMBeanName - - the object name of the mbean to replace.theMBeanDefinition - - the interface that defines the MBean.theMBeanImplementation - - an instance of the MBean implementation class.isEmitter - - true if this MBean wants to emit jmx notifications.public boolean replace(ObjectName theMBeanName, Class theMBeanDefinition, Object theMBeanImplementation)
replace in interface MBeanSettheMBeanName - - the object name of the mbean to replace.theMBeanDefinition - - the interface that defines the MBean.theMBeanImplementation - - an instance of the MBean implementation class.public boolean delete(ObjectName theMBeanName)
public boolean exists(ObjectName theMBeanName)
public boolean isRegistered(ObjectName theMBeanName)
isRegistered in interface MBeanSettheMBeanName - - the object name of the mbean to check.public boolean register()
public boolean unregister()
unregister in interface MBeanSetCopyright © 2011-2016 OpenESB Community. All Rights Reserved.