This interface should be used to export application resources to JMX using Spring's
management interface generation capabilities and, optionally, it's ObjectName
generation capabilities.
MBeanExporter
| Modifier and Type | Method and Description |
|---|---|
| public ObjectName | Returns: theObjectName under which the resource was exposedthe resource to expose via JMX managedResource)Register the supplied resource with JMX. |
| public void | registerManagedResource(Object
the resource to expose via JMX managedResource, ObjectName the objectName)ObjectName under which to expose the resourceRegister the supplied resource with JMX. |
| public void | unregisterManagedResource(ObjectName
the objectName)ObjectName of the resource to removeRemove the specified MBean from the underlying MBeanServer registry. |
| registerManagedResource | back to summary |
|---|---|
| public ObjectName registerManagedResource(Object managedResource) throws MBeanExportException 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
| |
| registerManagedResource | back to summary |
|---|---|
| public void registerManagedResource(Object managedResource, ObjectName objectName) throws MBeanExportException 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.
| |
| unregisterManagedResource | back to summary |
|---|---|
| public void unregisterManagedResource(ObjectName objectName) Remove the specified MBean from the underlying MBeanServer registry.
| |