| org.springframework.jmx.export.MBeanExportOperations
All known Subclasses: org.springframework.jmx.export.MBeanExporter,
MBeanExportOperations | public interface MBeanExportOperations (Code) | | 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.
author: Rob Harrop since: 2.0 See Also: MBeanExporter |
registerManagedResource | ObjectName registerManagedResource(Object managedResource) throws MBeanExportException(Code) | | 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.
Parameters: managedResource - the resource to expose via JMX the ObjectName under which the resource was exposed throws: MBeanExportException - if Spring is unable to generate an ObjectNameor register the MBean |
registerManagedResource | void registerManagedResource(Object managedResource, ObjectName objectName) throws MBeanExportException(Code) | | 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.
Parameters: managedResource - the resource to expose via JMX Parameters: objectName - the ObjectName under which to expose the resource throws: MBeanExportException - if Spring is unable to register the MBean |
|
|