org.picocontainer
Interface Injector<T>
- All Superinterfaces:
- ComponentAdapter<T>
- All Known Implementing Classes:
- AbstractInjector, AnnotatedFieldInjector, AnnotatedMethodInjector, CompositeInjector, ConstructorInjector, FactoryInjector, IterativeInjector, MethodInjector, MethodInjector.ByReflectionMethod, MultiInjector, NamedFieldInjector, NamedMethodInjector, ProviderAdapter, SetterInjector, SingleMemberInjector, TypedFieldInjector
public interface Injector<T>
- extends ComponentAdapter<T>
Implementers are responsible for instantiating and injecting dependancies into
Constructors, Methods and Fields.
decorateComponentInstance
Object decorateComponentInstance(PicoContainer container,
Type into,
T instance)
- A preexiting component instance can be injected into after instantiation
- Parameters:
container
- the container that can provide injectable dependenciesinto
- instance
- the instance to
- Returns:
Copyright © 2003-2010 Codehaus. All Rights Reserved.