|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jmx.support.MBeanRegistrationSupport
org.springframework.jmx.export.MBeanExporter
com.atlassian.confluence.jmx.MBeanExporterWithUnregisterImpl
public class MBeanExporterWithUnregisterImpl
Extends Spring's MBeanExporter to provide an unregister operation (which for some reason they don't have).
| Field Summary |
|---|
| Fields inherited from class org.springframework.jmx.export.MBeanExporter |
|---|
AUTODETECT_ALL, AUTODETECT_ASSEMBLER, AUTODETECT_MBEAN, AUTODETECT_NONE |
| Fields inherited from class org.springframework.jmx.support.MBeanRegistrationSupport |
|---|
logger, registeredBeans, REGISTRATION_FAIL_ON_EXISTING, REGISTRATION_IGNORE_EXISTING, REGISTRATION_REPLACE_EXISTING, server |
| Constructor Summary | |
|---|---|
MBeanExporterWithUnregisterImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
boolean |
isEnabled()
|
static void |
main(java.lang.String[] args)
|
void |
registerManagedResource(java.lang.Object o,
javax.management.ObjectName objectName)
|
void |
setEnabled(boolean enabled)
|
void |
unregisterBean(java.lang.String name)
|
| Methods inherited from class org.springframework.jmx.export.MBeanExporter |
|---|
createAndConfigureMBean, createModelMBean, destroy, getObjectName, isBeanDefinitionLazyInit, isMBean, onRegister, onUnregister, registerBeanNameOrInstance, registerBeans, registerManagedResource, setAssembler, setAutodetect, setAutodetectMode, setAutodetectModeName, setBeanClassLoader, setBeanFactory, setBeans, setEnsureUniqueRuntimeObjectNames, setExcludedBeans, setExposeManagedResourceClassLoader, setListeners, setNamingStrategy, setNotificationListenerMappings, setNotificationListeners |
| Methods inherited from class org.springframework.jmx.support.MBeanRegistrationSupport |
|---|
doRegister, setRegistrationBehavior, setRegistrationBehaviorName, setServer, unregisterBeans |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.jmx.export.MBeanExportOperations |
|---|
registerManagedResource |
| Methods inherited from interface org.springframework.beans.factory.BeanClassLoaderAware |
|---|
setBeanClassLoader |
| Methods inherited from interface org.springframework.beans.factory.BeanFactoryAware |
|---|
setBeanFactory |
| Methods inherited from interface org.springframework.beans.factory.DisposableBean |
|---|
destroy |
| Constructor Detail |
|---|
public MBeanExporterWithUnregisterImpl()
| Method Detail |
|---|
public boolean isEnabled()
isEnabled in interface MBeanExporterWithUnregisterpublic void setEnabled(boolean enabled)
setEnabled in interface MBeanExporterWithUnregisterpublic void afterPropertiesSet()
afterPropertiesSet in interface MBeanExporterWithUnregisterafterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.jmx.export.MBeanExporterpublic void unregisterBean(java.lang.String name)
unregisterBean in interface MBeanExporterWithUnregister
public void registerManagedResource(java.lang.Object o,
javax.management.ObjectName objectName)
throws org.springframework.jmx.export.MBeanExportException
registerManagedResource in interface org.springframework.jmx.export.MBeanExportOperationsregisterManagedResource in class org.springframework.jmx.export.MBeanExporterorg.springframework.jmx.export.MBeanExportExceptionpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||