Uses of Interface
org.picocontainer.LifecycleStrategy

Packages that use LifecycleStrategy
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   
 

Uses of LifecycleStrategy in org.picocontainer
 

Methods in org.picocontainer with parameters of type LifecycleStrategy
<T> ComponentAdapter<T>
BehaviorFactory.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)
           
<T> ComponentAdapter<T>
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.
 

Constructors in org.picocontainer with parameters of type LifecycleStrategy
DefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
          Creates a new container with a custom ComponentFactory, LifecycleStrategy for instance registration, and a parent container.
DefaultPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, ComponentMonitor componentMonitor)
           
DefaultPicoContainer(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, PicoContainer parent)
          Creates a new container with the AdaptiveInjection using a custom ComponentMonitor and lifecycle strategy
DefaultPicoContainer(LifecycleStrategy lifecycleStrategy, PicoContainer parent)
          Creates a new container with the AdaptiveInjection using a custom lifecycle strategy
 

Uses of LifecycleStrategy in org.picocontainer.adapters
 

Classes in org.picocontainer.adapters that implement LifecycleStrategy
 class InstanceAdapter
           Component adapter which wraps a component instance.
 

Constructors in org.picocontainer.adapters with parameters of type LifecycleStrategy
InstanceAdapter(Object componentKey, Object componentInstance, LifecycleStrategy lifecycleStrategy, ComponentMonitor componentMonitor)
           
 

Uses of LifecycleStrategy in org.picocontainer.behaviors
 

Classes in org.picocontainer.behaviors that implement LifecycleStrategy
 class AbstractBehavior<T>
           Component adapter which decorates another adapter.
 class Automated
           
 class Cached<T>
           ComponentAdapter implementation that caches the component instance.
 class HiddenImplementation
          This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the key is an interface.
 class Intercepted<T>
           
 class Locked
           
 class PropertyApplicator<T>
          Decorating component adapter that can be used to set additional properties on a component in a bean style.
 class Stored<T>
          abstract base behaviour for all behaviours wishing to store their component in "awkward places" ( object references )
 class Synchronized
           
 class ThreadCached<T>
           This behavior supports caches values per thread.
 

Methods in org.picocontainer.behaviors with parameters of type LifecycleStrategy
 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)
           
<T> ComponentAdapter<T>
AbstractBehaviorFactory.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)
           
<T> ComponentAdapter<T>
Caching.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)
           
<T> ComponentAdapter<T>
PropertyApplying.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)
           
<T> ComponentAdapter<T>
AbstractBehaviorFactory.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)
           
<T> ComponentAdapter<T>
Caching.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)
           
<T> ComponentAdapter<T>
Interception.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)
           
<T> ComponentAdapter<T>
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 LifecycleStrategy in org.picocontainer.injectors
 

Classes in org.picocontainer.injectors that implement LifecycleStrategy
 class AbstractInjector
          This ComponentAdapter will instantiate a new object for each call to ComponentAdapter.getComponentInstance(PicoContainer).
 class AnnotatedFieldInjector
           
 class AnnotatedMethodInjector
           
 class ConstructorInjector
          Instantiates components using Constructor Injection.
 class IterativeInjector
           
 class MethodInjector
          Instantiates components using Method Injection.
 class MultiInjector
           
 class SetterInjector
          Instantiates components using empty constructors and Setter Injection.
 class SingleMemberInjector
           
 

Fields in org.picocontainer.injectors declared as LifecycleStrategy
protected  LifecycleStrategy AbstractInjector.lifecycleStrategy
          The strategy used to control the lifecycle
 

Methods in org.picocontainer.injectors with parameters of type LifecycleStrategy
<T> ComponentAdapter<T>
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  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 LifecycleStrategy
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 LifecycleStrategy in org.picocontainer.lifecycle
 

Classes in org.picocontainer.lifecycle that implement LifecycleStrategy
 class AbstractMonitoringLifecycleStrategy
          Abstract base class for lifecycle strategy implementation supporting a ComponentMonitor.
 class NullLifecycleStrategy
           
 class ReflectionLifecycleStrategy
          Reflection lifecycle strategy.
 class StartableLifecycleStrategy
          Startable lifecycle strategy.
 



Copyright © 2003-2007 Codehaus. All Rights Reserved.