org.springframework.jmx.export.MBeanExportOperations |
Known Indirect Subclasses |
Interface that defines the set of MBean export operations that are intended to be accessed by application developers during application runtime.
This interface should be used to export application resources to JMX using Spring's
management interface generation capabilties and, optionally, it's ObjectName
generation capabilities.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Register the supplied resource with JMX.
| |||||||||||
Register the supplied resource with JMX.
| |||||||||||
Remove the specified MBean from the underlying MBeanServer registry.
|
Register the supplied resource with JMX. If the resource is not a valid MBean already,
Spring will generate a management interface for it. The exact interface generated will
depend on the implementation and its configuration. This call also generates an
ObjectName
for the managed resource and returns this to the caller.
managedResource | the resource to expose via JMX |
---|
ObjectName
under which the resource was exposedMBeanExportException | if Spring is unable to generate an ObjectName
or register the MBean
|
---|
Register the supplied resource with JMX. If the resource is not a valid MBean already, Spring will generate a management interface for it. The exact interface generated will depend on the implementation and its configuration.
managedResource | the resource to expose via JMX |
---|---|
objectName | the ObjectName under which to expose the resource |
MBeanExportException | if Spring is unable to register the MBean |
---|
Remove the specified MBean from the underlying MBeanServer registry.
objectName | the ObjectName of the resource to remove
|
---|