|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.picocontainer.gems.jmx.DynamicMBeanComponentProvider
public class DynamicMBeanComponentProvider
DynamicMBeanProvider, that will provide a component directly if it is already a DynamicMBean
.
Constructor Summary | |
---|---|
DynamicMBeanComponentProvider()
Construct a DynamicMBeanComponentProvider. |
|
DynamicMBeanComponentProvider(ObjectNameFactory factory)
Construct a DynamicMBeanComponentProvider with a specified ObjectNameFactory. |
Method Summary | |
---|---|
JMXRegistrationInfo |
provide(PicoContainer picoContainer,
ComponentAdapter componentAdapter)
Provide the component itself as DynamicMBean if it is one and if an ObjectName can be created. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DynamicMBeanComponentProvider()
TypedObjectNameFactory
and register
all MBeans in the default domain of the MBeanServer
.
public DynamicMBeanComponentProvider(ObjectNameFactory factory)
factory
- The ObjectNameFactory
.Method Detail |
---|
public JMXRegistrationInfo provide(PicoContainer picoContainer, ComponentAdapter componentAdapter)
DynamicMBean
if it is one and if an ObjectName
can be created.
provide
in interface DynamicMBeanProvider
picoContainer
- The PicoContainer
to resolve dependencies.componentAdapter
- The ComponentAdapter
referring the component.
DynamicMBeanProvider.provide(org.picocontainer.PicoContainer,
org.picocontainer.ComponentAdapter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |