Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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.classname |
org.picocontainer.containers |
org.picocontainer.injectors |
org.picocontainer.lifecycle | Contains a series of classes that implement lifecycle strategy.

Uses of LifecycleStrategy in org.picocontainer

Fields in org.picocontainer declared as LifecycleStrategy
`protected LifecycleStrategy` | `DefaultPicoContainer.lifecycleStrategy` Lifecycle strategy instance.

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 AdaptingInjection using a custom ComponentMonitor and lifecycle strategy
`DefaultPicoContainer(LifecycleStrategy lifecycleStrategy, PicoContainer parent)` Creates a new container with the AdaptingInjection using a custom lifecycle strategy

Uses of LifecycleStrategy in org.picocontainer.adapters

Classes in org.picocontainer.adapters that implement LifecycleStrategy
`class` | `InstanceAdapter<T>` Component adapter which wraps a component instance.

Constructors in org.picocontainer.adapters with parameters of type LifecycleStrategy
`InstanceAdapter(Object componentKey, T componentInstance, LifecycleStrategy lifecycleStrategy)`
`InstanceAdapter(Object componentKey, T 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<T>`
`class` | `Cached<T>` `ComponentAdapter` implementation that caches the component instance.
`class` | `Decorated`
`class` | `FieldDecorated`
`class` | `Guarded<T>` behaviour for allows components to be guarded by another component
`class` | `HiddenImplementation<T>` 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<T>`
`class` | `PropertyApplicator<T>` Decorating component adapter that can be used to set additional properties on a component in a bean style.
`class` | `Stored<T>` behaviour for all behaviours wishing to store their component in "awkward places" ( object references )
`class` | `Synchronized<T>` Component Adapter that uses java synchronized around getComponentInstance().
`class` | `ThreadCached<T>` This behavior supports caches values per thread.

Methods in org.picocontainer.behaviors with parameters of type LifecycleStrategy
`ComponentAdapter` | `ImplementationHiding.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)`
`ComponentAdapter` | `FieldDecorating.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)`
`ComponentAdapter` | `Decorating.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)`
`ComponentAdapter` | `Automating.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)`
`ComponentAdapter` | `AdaptingBehavior.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter adapter)`
`
`<T> ComponentAdapter<T>`
` | `ThreadCaching.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)`
`
`<T> ComponentAdapter<T>`
` | `Synchronizing.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)`
`
`<T> ComponentAdapter<T>`
` | `Storing.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>`
` | `OptInCaching.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)`
`
`<T> ComponentAdapter<T>`
` | `Locking.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)`
`
`<T> ComponentAdapter<T>`
` | `Guarding.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>`
` | `AbstractBehaviorFactory.addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, ComponentAdapter<T> adapter)`
`
`<T> ComponentAdapter<T>`
` | `ThreadCaching.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `Synchronizing.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)` Create a new component adapter based on the specified arguments.
`
`<T> ComponentAdapter<T>`
` | `Storing.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)`
`
`<T> ComponentAdapter<T>`
` | `OptInCaching.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `Locking.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)` Create a new component adapter based on the specified arguments.
`
`<T> ComponentAdapter<T>`
` | `Intercepting.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `Guarding.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>`
` | `AbstractBehaviorFactory.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`ComponentAdapter` | `ImplementationHiding.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters)`
`ComponentAdapter` | `FieldDecorating.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters)`
`ComponentAdapter` | `Decorating.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters)`
`ComponentAdapter` | `Automating.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters)`
`ComponentAdapter` | `AdaptingBehavior.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class componentImplementation, Parameter... parameters)`

Uses of LifecycleStrategy in org.picocontainer.classname

Constructors in org.picocontainer.classname with parameters of type LifecycleStrategy
`DefaultClassLoadingPicoContainer(ComponentFactory componentFactory, LifecycleStrategy lifecycleStrategy, PicoContainer parent, ClassLoader cl, ComponentMonitor componentMonitor)`

Uses of LifecycleStrategy in org.picocontainer.containers

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

Uses of LifecycleStrategy in org.picocontainer.injectors

Classes in org.picocontainer.injectors that implement LifecycleStrategy
`class` | `AbstractInjector<T>` This ComponentAdapter will instantiate a new object for each call to `org.picocontainer.ComponentAdapter#getComponentInstance(PicoContainer, Class)`.
`class` | `AnnotatedFieldInjector` Injection happens after instantiation, and through fields marked as injection points via an Annotation.
`class` | `AnnotatedMethodInjector`
`class` | `CompositeInjector<T>`
`class` | `ConstructorInjector<T>` Injection will happen through a constructor for the component.
`class` | `IterativeInjector<T>` Injection will happen iteratively after component instantiation
`class` | `MethodInjector<T>` Injection will happen through a single method for the component.
`static class` | `MethodInjector.ByReflectionMethod`
`class` | `MultiInjector`
`class` | `NamedFieldInjector` Injection happens after instantiation, and fields are marked as injection points via a named field.
`class` | `SetterInjector<T>` Instantiates components using empty constructors and Setter Injection.
`class` | `SingleMemberInjector<T>` Injection will happen in a single member function on the component.
`class` | `TypedFieldInjector` Injection happens after instantiation, and fields are marked as injection points via a field type.

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
`static ComponentAdapter` | `Injector.annotatedField(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Class<? extends Annotation> injectionAnnotation, boolean useNames)` convenience method to create annotated field injector
`static ComponentAdapter` | `Injector.annotatedMethod(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, Class<? extends Annotation> injectionAnnotation, boolean useNames)` convenience method to create annotated method injector
`static ComponentAdapter` | `Injector.composite(Object componentKey, Class<?> componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames, Injector... injectors)` creates composite injector
`static ComponentAdapter` | `Injector.constructor(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames)` Creates a ConstructorInjector
`static ComponentAdapter` | `Injector.constructor(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames, boolean rememberChosenCtor)` Creates a ConstructorInjector
`
`<T> ComponentAdapter<T>`
` | `TypedFieldInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `SetterInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)` Create a `SetterInjector`.
`
`<T> ComponentAdapter<T>`
` | `NamedFieldInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `MultiInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `MethodInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `MethodInjection.MethodInjectionByName.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `MethodInjection.MethodInjectionByReflectionMethod.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `ConstructorInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties properties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `CompositeInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `AnnotatedMethodInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)` Create a `SetterInjector`.
`
`<T> ComponentAdapter<T>`
` | `AnnotatedFieldInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`
`<T> ComponentAdapter<T>`
` | `AdaptingInjection.createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Properties componentProperties, Object componentKey, Class<T> componentImplementation, Parameter... parameters)`
`static ComponentAdapter` | `Injector.method(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, String methodName, boolean useNames)` convenience method to create method injector
`static ComponentAdapter` | `Injector.multi(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String setterPrefix, boolean useNames)` convenience method to create multi component adapter
`static ComponentAdapter` | `Injector.namedField(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String fieldNames)` convenience method to create named field injector
`static ComponentAdapter` | `Injector.setter(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, String setterMethodPrefix, boolean useNames)` convenience method to create setter injector
`static ComponentAdapter` | `Injector.typedField(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String classNames)` conveniently create typed field injector

Constructors in org.picocontainer.injectors with parameters of type LifecycleStrategy
`AbstractInjector(Object componentKey, Class<?> componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames)` Constructs a new ComponentAdapter for the given key and implementation.
`AnnotatedFieldInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, Class<? extends Annotation> injectionAnnotation, boolean useNames)`
`AnnotatedMethodInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, Class<? extends Annotation> injectionAnnotation, boolean useNames)`
`CompositeInjector(Object componentKey, Class<?> componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames, Injector... injectors)`
`ConstructorInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames)` Creates a ConstructorInjector
`ConstructorInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames, boolean rememberChosenCtor)` Creates a ConstructorInjector
`IterativeInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames)` Constructs a IterativeInjector
`MethodInjector.ByReflectionMethod(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, Method injectionMethod, boolean useNames)`
`MethodInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, String methodName, boolean useNames)` Creates a MethodInjector
`MultiInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String setterPrefix, boolean useNames)`
`NamedFieldInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String fieldNames)`
`SetterInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, String setterMethodPrefix, boolean useNames)` Constructs a SetterInjector
`SingleMemberInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames)`
`TypedFieldInjector(Object key, Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, String classNames)`

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` | `CompositeLifecycleStrategy` Allow for use of alternate LifecycleStrategy strategies to be used at the same time.
`class` | `JavaEE5LifecycleStrategy` Java EE 5 has some annotations PreDestroy and PostConstruct that map to start() and dispose() in our world
`class` | `NullLifecycleStrategy` Lifecycle strategy that does nothing.
`class` | `ReflectionLifecycleStrategy` Reflection lifecycle strategy.
`class` | `StartableLifecycleStrategy` Startable lifecycle strategy.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2003-2009 Codehaus. All Rights Reserved.