|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.picocontainer.behaviors.AbstractBehaviorFactory
org.picocontainer.gems.jmx.JMXExposing
public class JMXExposing
ComponentFactory that instantiates JMXExposed instances.
| Constructor Summary | |
|---|---|
JMXExposing()
Constructs a JMXExposingComponentFactory that uses the system default MBean Server. |
|
JMXExposing(MBeanServer mBeanServer)
Construct a JMXExposingComponentFactory. |
|
JMXExposing(MBeanServer mBeanServer,
DynamicMBeanProvider[] providers)
Construct a JMXExposingComponentFactory. |
|
| Method Summary | ||
|---|---|---|
|
addComponentAdapter(org.picocontainer.ComponentMonitor componentMonitor,
org.picocontainer.LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
org.picocontainer.ComponentAdapter<T> adapter)
|
|
|
createComponentAdapter(org.picocontainer.ComponentMonitor componentMonitor,
org.picocontainer.LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
org.picocontainer.Parameter... parameters)
Retrieve a ComponentAdapter. |
|
| Methods inherited from class org.picocontainer.behaviors.AbstractBehaviorFactory |
|---|
accept, arePropertiesPresent, getAndRemovePropertiesIfPresentByKey, mergeProperties, removePropertiesIfPresent, verify, wrap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXExposing()
public JMXExposing(MBeanServer mBeanServer,
DynamicMBeanProvider[] providers)
throws NullPointerException
mBeanServer - The MBeanServer used for registering the MBean.providers - An array with providers for converting the component instance into a
DynamicMBean.
NullPointerException - Thrown if the MBeanServer or the array with the DynamicMBeanProvider
instances is null.
public JMXExposing(MBeanServer mBeanServer)
throws NullPointerException
DynamicMBeanComponentProvider as
default to register any component instance in the MBeanServer, that is already a
DynamicMBean.
mBeanServer - The MBeanServer used for registering the MBean.
NullPointerException - Thrown if the MBeanServer or the array with the DynamicMBeanProvider
instances is null.| Method Detail |
|---|
public <T> org.picocontainer.ComponentAdapter<T> createComponentAdapter(org.picocontainer.ComponentMonitor componentMonitor,
org.picocontainer.LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
org.picocontainer.Parameter... parameters)
throws org.picocontainer.PicoCompositionException
ComponentAdapter. Wrap the instance retrieved by the delegate with an instance of a
JMXExposed.
createComponentAdapter in interface org.picocontainer.ComponentFactorycreateComponentAdapter in class org.picocontainer.behaviors.AbstractBehaviorFactoryorg.picocontainer.PicoCompositionExceptionComponentFactory.createComponentAdapter(ComponentMonitor,LifecycleStrategy,Properties,Object,Class,Parameter...)
public <T> org.picocontainer.ComponentAdapter<T> addComponentAdapter(org.picocontainer.ComponentMonitor componentMonitor,
org.picocontainer.LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
org.picocontainer.ComponentAdapter<T> adapter)
addComponentAdapter in interface org.picocontainer.BehaviorFactoryaddComponentAdapter in class org.picocontainer.behaviors.AbstractBehaviorFactory
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||