|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MBeanExporterWithUnregister
This interface has been created to allow us to perform additional necessary operations that are not provided via Spring's JMX support classes. The following operations have been added.
Field Summary | |
---|---|
static java.lang.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 |
Method Summary | |
---|---|
boolean |
isEnabled()
Determines whether or not the export is enabled. |
boolean |
isRegistered(javax.management.ObjectName name)
Determines whether the object has been registered. |
void |
safeRegisterManagedResource(java.lang.Object value,
javax.management.ObjectName name)
Registers the MBean with a given name. |
void |
unregisterBean(javax.management.ObjectName name)
Unregistered the MBean with the given name. |
Methods inherited from interface org.springframework.jmx.export.MBeanExportOperations |
---|
registerManagedResource, registerManagedResource |
Field Detail |
---|
static final java.lang.String PROPERTY_NAME_JMX_DISABLED
isEnabled()
to always return false
Method Detail |
---|
boolean isEnabled()
void unregisterBean(javax.management.ObjectName name)
name
- of the resource to be unregistered.boolean isRegistered(javax.management.ObjectName name)
void safeRegisterManagedResource(java.lang.Object value, javax.management.ObjectName name)
value
- - MBean objectname
- of the resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |