|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.gems.jmx.RegisteredMBeanConstructingProvider
public class RegisteredMBeanConstructingProvider
A DynamicMBeanProvider, that creates DynamicMBeans for registered Pico components on the fly.
| Constructor Summary | |
|---|---|
RegisteredMBeanConstructingProvider()
Construct a RegisteredMBeanConstructingProvider with a StandardMBeanFactory as default. |
|
RegisteredMBeanConstructingProvider(DynamicMBeanFactory factory)
Construct a RegisteredMBeanConstructingProvider, that uses a specific DynamicMBeanFactory. |
|
| Method Summary | |
|---|---|
JMXRegistrationInfo |
provide(org.picocontainer.PicoContainer picoContainer,
org.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegisteredMBeanConstructingProvider()
StandardMBeanFactory as default.
public RegisteredMBeanConstructingProvider(DynamicMBeanFactory factory)
DynamicMBeanFactory.
factory - | Method Detail |
|---|
public JMXRegistrationInfo provide(org.picocontainer.PicoContainer picoContainer,
org.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.
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||