|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MBeanExportOperations
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.
MBeanExporter
Method Summary | |
---|---|
ObjectName |
registerManagedResource(Object managedResource)
Register the supplied resource with JMX. |
void |
registerManagedResource(Object managedResource,
ObjectName objectName)
Register the supplied resource with JMX. |
Method Detail |
---|
ObjectName registerManagedResource(Object managedResource) throws MBeanExportException
ObjectName
for the managed resource and returns this to the caller.
managedResource
- the resource to expose via JMX
ObjectName
under which the resource was exposed
MBeanExportException
- if Spring is unable to generate an ObjectName
or register the MBeanvoid registerManagedResource(Object managedResource, ObjectName objectName) throws MBeanExportException
managedResource
- the resource to expose via JMXobjectName
- the ObjectName
under which to expose the resource
MBeanExportException
- if Spring is unable to register the MBean
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |