public interface MBeanExporterWithUnregister
extends org.springframework.jmx.export.MBeanExportOperations
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME_JMX_DISABLED
Setting this system property to true will prevent the exporter from registering or unregistering MBeans, and
cause
isEnabled() to always return false |
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Determines whether or not the export is enabled.
|
boolean |
isRegistered(ObjectName name)
Determines whether the object has been registered.
|
void |
safeRegisterManagedResource(Object value,
ObjectName name)
Registers the MBean with a given name.
|
void |
unregisterBean(ObjectName name)
Deprecated.
since 5.10. Use
MBeanExportOperations.unregisterManagedResource(javax.management.ObjectName) instead. |
static final String PROPERTY_NAME_JMX_DISABLED
isEnabled()
to always return falseboolean isEnabled()
@Deprecated void unregisterBean(ObjectName name)
MBeanExportOperations.unregisterManagedResource(javax.management.ObjectName)
instead.name
- of the resource to be unregistered.boolean isRegistered(ObjectName name)
void safeRegisterManagedResource(Object value, ObjectName name)
value
- - MBean objectname
- of the resourceCopyright © 2003–2017 Atlassian. All rights reserved.