|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentMonitor | |
|---|---|
| org.picocontainer | This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern. |
| org.picocontainer.adapters | |
| org.picocontainer.behaviors | |
| org.picocontainer.injectors | |
| org.picocontainer.lifecycle | |
| org.picocontainer.monitors | |
| Uses of ComponentMonitor in org.picocontainer |
|---|
| Methods in org.picocontainer that return ComponentMonitor | |
|---|---|
ComponentMonitor |
ComponentMonitorStrategy.currentMonitor()
Returns the monitor currently used |
ComponentMonitor |
DefaultPicoContainer.currentMonitor()
Returns the first current monitor found in the ComponentFactory, the component adapters and the child containers, if these support a ComponentMonitorStrategy. |
| Methods in org.picocontainer with parameters of type ComponentMonitor | ||
|---|---|---|
|
BehaviorFactory.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter<T> adapter)
|
|
void |
ComponentMonitorStrategy.changeMonitor(ComponentMonitor monitor)
Changes the component monitor used |
|
void |
DefaultPicoContainer.changeMonitor(ComponentMonitor monitor)
Changes monitor in the ComponentFactory, the component adapters and the child containers, if these support a ComponentMonitorStrategy. |
|
|
ComponentFactory.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
Create a new component adapter based on the specified arguments. |
|
PicoBuilder |
PicoBuilder.withMonitor(ComponentMonitor componentMonitor)
|
|
| Method parameters in org.picocontainer with type arguments of type ComponentMonitor | |
|---|---|
PicoBuilder |
PicoBuilder.withMonitor(Class<? extends ComponentMonitor> cmClass)
|
| Constructors in org.picocontainer with parameters of type ComponentMonitor | |
|---|---|
DefaultPicoContainer(ComponentFactory componentFactory,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent,
ComponentMonitor componentMonitor)
|
|
DefaultPicoContainer(ComponentMonitor monitor)
Creates a new container with the AdaptiveInjection using a custom ComponentMonitor |
|
DefaultPicoContainer(ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent)
Creates a new container with the AdaptiveInjection using a custom ComponentMonitor and lifecycle strategy |
|
DefaultPicoContainer(ComponentMonitor monitor,
PicoContainer parent)
Creates a new container with the AdaptiveInjection using a custom ComponentMonitor |
|
| Uses of ComponentMonitor in org.picocontainer.adapters |
|---|
| Methods in org.picocontainer.adapters that return ComponentMonitor | |
|---|---|
ComponentMonitor |
AbstractAdapter.currentMonitor()
Returns the monitor currently used |
| Methods in org.picocontainer.adapters with parameters of type ComponentMonitor | |
|---|---|
void |
AbstractAdapter.changeMonitor(ComponentMonitor monitor)
|
| Constructors in org.picocontainer.adapters with parameters of type ComponentMonitor | |
|---|---|
AbstractAdapter(Object componentKey,
Class componentImplementation,
ComponentMonitor monitor)
Constructs a new ComponentAdapter for the given key and implementation. |
|
InstanceAdapter(Object componentKey,
Object componentInstance,
LifecycleStrategy lifecycleStrategy,
ComponentMonitor componentMonitor)
|
|
| Uses of ComponentMonitor in org.picocontainer.behaviors |
|---|
| Methods in org.picocontainer.behaviors that return ComponentMonitor | |
|---|---|
ComponentMonitor |
AbstractBehavior.currentMonitor()
Returns delegate's current monitor if the delegate supports a component monitor strategy. |
| Methods in org.picocontainer.behaviors with parameters of type ComponentMonitor | ||
|---|---|---|
ComponentAdapter |
AdaptiveBehavior.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
Automatic.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
ImplementationHiding.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
Locking.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
OptInCaching.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
Storing.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
Synchronizing.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
ComponentAdapter |
ThreadCaching.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter adapter)
|
|
|
AbstractBehaviorFactory.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter<T> adapter)
|
|
|
Caching.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter<T> adapter)
|
|
|
PropertyApplying.addComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
ComponentAdapter<T> adapter)
|
|
void |
AbstractBehavior.changeMonitor(ComponentMonitor monitor)
Delegates change of monitor if the delegate supports a component monitor strategy. |
|
|
AbstractBehaviorFactory.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
|
|
|
Caching.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
|
|
|
Interception.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
|
|
|
PropertyApplying.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
AdaptiveBehavior.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
Automatic.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
ImplementationHiding.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
Locking.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
OptInCaching.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
Storing.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
Synchronizing.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
ThreadCaching.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
| Uses of ComponentMonitor in org.picocontainer.injectors |
|---|
| Methods in org.picocontainer.injectors with parameters of type ComponentMonitor | ||
|---|---|---|
protected Object |
AbstractInjector.caughtIllegalAccessException(ComponentMonitor componentMonitor,
Constructor constructor,
IllegalAccessException e,
PicoContainer container)
|
|
protected Object |
AbstractInjector.caughtIllegalAccessException(ComponentMonitor componentMonitor,
Member member,
Object componentInstance,
IllegalAccessException e)
|
|
protected Object |
AbstractInjector.caughtInstantiationException(ComponentMonitor componentMonitor,
Constructor constructor,
InstantiationException e,
PicoContainer container)
|
|
protected Object |
AbstractInjector.caughtInvocationTargetException(ComponentMonitor componentMonitor,
Member member,
Object componentInstance,
InvocationTargetException e)
|
|
|
MultiInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class<T> componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
AdaptiveInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
AnnotatedFieldInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
AnnotatedMethodInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
Create a SetterInjector. |
|
ComponentAdapter |
ConstructorInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
MethodInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
ComponentAdapter |
SetterInjection.createComponentAdapter(ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
Create a SetterInjector. |
|
protected Object |
IterativeInjector.getOrMakeInstance(PicoContainer container,
Constructor constructor,
ComponentMonitor componentMonitor)
|
|
protected ComponentAdapter |
AdaptiveInjection.makeDefaultInjection(Properties componentProperties,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Object componentKey,
Class componentImplementation,
Parameter... parameters)
|
|
protected ComponentAdapter |
AdaptiveInjection.makeIfFieldAnnotationInjection(Class componentImplementation,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
ComponentAdapter componentAdapter,
Parameter... parameters)
|
|
protected ComponentAdapter |
AdaptiveInjection.makeIfMethodAnnotationInjection(Class componentImplementation,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Properties componentProperties,
Object componentKey,
ComponentAdapter componentAdapter,
Parameter... parameters)
|
|
protected ComponentAdapter |
AdaptiveInjection.makeIfMethodInjection(Properties componentProperties,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Object componentKey,
Class componentImplementation,
ComponentAdapter componentAdapter,
Parameter... parameters)
|
|
protected ComponentAdapter |
AdaptiveInjection.makeIfSetterInjection(Properties componentProperties,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Object componentKey,
Class componentImplementation,
ComponentAdapter componentAdapter,
Parameter... parameters)
|
|
| Constructors in org.picocontainer.injectors with parameters of type ComponentMonitor | |
|---|---|
AbstractInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Constructs a new ComponentAdapter for the given key and implementation. |
|
AnnotatedFieldInjector(Object key,
Class impl,
Parameter[] parameters,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
Class injectionAnnotation)
|
|
AnnotatedMethodInjector(Object key,
Class impl,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
Class injectionAnnotation)
|
|
ConstructorInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Creates a ConstructorInjector |
|
IterativeInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Constructs a IterativeInjector |
|
MethodInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
String methodName)
Creates a MethodInjector |
|
MultiInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor componentMonitor,
LifecycleStrategy lifecycleStrategy,
String setterPrefix)
|
|
SetterInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
String setterMethodPrefix)
Constructs a SetterInjector |
|
SingleMemberInjector(Object componentKey,
Class componentImplementation,
Parameter[] parameters,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
|
|
| Uses of ComponentMonitor in org.picocontainer.lifecycle |
|---|
| Methods in org.picocontainer.lifecycle that return ComponentMonitor | |
|---|---|
ComponentMonitor |
AbstractMonitoringLifecycleStrategy.currentMonitor()
|
| Methods in org.picocontainer.lifecycle with parameters of type ComponentMonitor | |
|---|---|
void |
AbstractMonitoringLifecycleStrategy.changeMonitor(ComponentMonitor monitor)
|
| Constructors in org.picocontainer.lifecycle with parameters of type ComponentMonitor | |
|---|---|
AbstractMonitoringLifecycleStrategy(ComponentMonitor monitor)
Construct a AbstractMonitoringLifecycleStrategy. |
|
ReflectionLifecycleStrategy(ComponentMonitor monitor)
Construct a ReflectionLifecycleStrategy. |
|
ReflectionLifecycleStrategy(ComponentMonitor monitor,
String startMethodName,
String stopMethodName,
String disposeMethodName)
Construct a ReflectionLifecycleStrategy with individual method names. |
|
StartableLifecycleStrategy(ComponentMonitor monitor)
|
|
| Uses of ComponentMonitor in org.picocontainer.monitors |
|---|
| Classes in org.picocontainer.monitors that implement ComponentMonitor | |
|---|---|
class |
AbstractComponentMonitor
A monitor which delegates to another monitor. |
class |
ConsoleComponentMonitor
A ComponentMonitor which writes to a OutputStream. |
class |
LifecycleComponentMonitor
A ComponentMonitor which collects lifecycle failures
and rethrows them on demand after the failures. |
class |
NullComponentMonitor
A ComponentMonitor which does nothing. |
class |
WriterComponentMonitor
A ComponentMonitor which writes to a Writer. |
| Methods in org.picocontainer.monitors that return ComponentMonitor | |
|---|---|
ComponentMonitor |
AbstractComponentMonitor.currentMonitor()
|
| Methods in org.picocontainer.monitors with parameters of type ComponentMonitor | |
|---|---|
void |
AbstractComponentMonitor.changeMonitor(ComponentMonitor monitor)
If the delegate supports a monitor strategy,
this is used to changed the monitor while keeping the same delegate. |
| Constructors in org.picocontainer.monitors with parameters of type ComponentMonitor | |
|---|---|
AbstractComponentMonitor(ComponentMonitor delegate)
Creates a AbstractComponentMonitor with a given delegate |
|
ConsoleComponentMonitor(OutputStream out,
ComponentMonitor delegate)
|
|
LifecycleComponentMonitor(ComponentMonitor delegate)
|
|
WriterComponentMonitor(Writer out,
ComponentMonitor delegate)
|
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||