|
||||||||||
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 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(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)
Unregistered the MBean with the given name. |
Methods inherited from interface org.springframework.jmx.export.MBeanExportOperations |
---|
registerManagedResource, registerManagedResource |
Field Detail |
---|
static final String PROPERTY_NAME_JMX_DISABLED
isEnabled()
to always return false
Method Detail |
---|
boolean isEnabled()
void unregisterBean(ObjectName name)
name
- of the resource to be unregistered.boolean isRegistered(ObjectName name)
void safeRegisterManagedResource(Object value, ObjectName name)
value
- - MBean objectname
- of the resource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |