public class RegisteredMBeanConstructingProvider extends Object implements DynamicMBeanProvider
| Constructor and Description |
|---|
RegisteredMBeanConstructingProvider()
Construct a RegisteredMBeanConstructingProvider with a
StandardMBeanFactory as default. |
RegisteredMBeanConstructingProvider(DynamicMBeanFactory factory)
Construct a RegisteredMBeanConstructingProvider, that uses a specific
DynamicMBeanFactory. |
| Modifier and Type | Method and Description |
|---|---|
JMXRegistrationInfo |
provide(PicoContainer picoContainer,
ComponentAdapter componentAdapter)
Provide a DynamicMBean for the given Pico component.
|
void |
register(ObjectName objectName,
MBeanInfo mBeanInfo)
Register a specific Pico component with an MBeanInfo and an ObjectName.
|
void |
register(Object componentKey,
ObjectName objectName)
Register a specific Pico component by key with an ObjectName.
|
void |
register(Object componentKey,
ObjectName objectName,
Class management,
MBeanInfo mBeanInfo)
Register a specific Pico component by key with an MBeanInfo and an ObjectName.
|
void |
register(Object componentKey,
ObjectName objectName,
MBeanInfo mBeanInfo)
Register a specific Pico component by key with an MBeanInfo and an ObjectName.
|
public RegisteredMBeanConstructingProvider()
StandardMBeanFactory as default.public RegisteredMBeanConstructingProvider(DynamicMBeanFactory factory)
DynamicMBeanFactory.factory - public JMXRegistrationInfo provide(PicoContainer picoContainer, ComponentAdapter componentAdapter)
DynamicMBean will be created for them using the DynamicMBeanFactory. If the component key is of
type class, it is used as management interface.provide in interface DynamicMBeanProviderpicoContainer - The PicoContainer to resolve dependencies.componentAdapter - The ComponentAdapter referring the component.DynamicMBeanProvider.provide(PicoContainer, ComponentAdapter)public void register(Object componentKey, ObjectName objectName, Class management, MBeanInfo mBeanInfo)
componentKey - The key of the Pico component.objectName - The ObjectName of the MBean.management - The management interface.mBeanInfo - The MBeanInfo of the MBean.public void register(Object componentKey, ObjectName objectName, MBeanInfo mBeanInfo)
componentKey - The key of the Pico component.objectName - The ObjectName of the MBean.mBeanInfo - The MBeanInfo of the MBean.public void register(ObjectName objectName, MBeanInfo mBeanInfo)
DynamicMBean must be the key of the Pico component.objectName - The ObjectName of the MBean.mBeanInfo - The MBeanInfo of the MBean.public void register(Object componentKey, ObjectName objectName)
componentKey - The key of the Pico component.objectName - The ObjectName of the MBean.Copyright © 2003-2014 Codehaus. All Rights Reserved.