public class DynamicMBeanExporter extends org.springframework.jmx.export.MBeanExporter implements DynamicMBeanExportOperations
MBeanExporter
that allows individual MBeans to be registered and unregistered over time.Constructor and Description |
---|
DynamicMBeanExporter()
Instantiates a new dynamic MBean exporter.
|
Modifier and Type | Method and Description |
---|---|
ObjectName |
registerMBean(Object managedResource,
ObjectName objectName)
Registers an MBean.
|
void |
setServer(MBeanServer server) |
void |
unregisterMBean(ObjectName objectName)
Unregisters an MBean
|
adaptMBeanIfPossible, afterPropertiesSet, createAndConfigureMBean, createModelMBean, destroy, getObjectName, isBeanDefinitionLazyInit, isMBean, onRegister, onUnregister, registerBeanNameOrInstance, registerBeans, registerManagedResource, registerManagedResource, setAllowEagerInit, setAssembler, setAutodetect, setAutodetectMode, setAutodetectModeName, setBeanClassLoader, setBeanFactory, setBeans, setEnsureUniqueRuntimeObjectNames, setExcludedBeans, setExposeManagedResourceClassLoader, setListeners, setNamingStrategy, setNotificationListenerMappings, setNotificationListeners, unregisterManagedResource
public DynamicMBeanExporter()
public void setServer(MBeanServer server)
setServer
in class org.springframework.jmx.support.MBeanRegistrationSupport
public void unregisterMBean(ObjectName objectName)
DynamicMBeanExportOperations
unregisterMBean
in interface DynamicMBeanExportOperations
objectName
- the object namepublic ObjectName registerMBean(Object managedResource, ObjectName objectName)
DynamicMBeanExportOperations
registerMBean
in interface DynamicMBeanExportOperations
managedResource
- the managed resourceobjectName
- the object nameCopyright © 2005–2017 Alfresco Software. All rights reserved.