Package org.picocontainer
Interface Injector<T>
- All Superinterfaces:
ComponentAdapter<T>
- All Known Implementing Classes:
AbstractFieldInjector,AbstractInjector,AnnotatedFieldInjector,AnnotatedMethodInjector,CompositeInjector,ConstructorInjector,FactoryInjector,IterativeInjector,MethodInjector,MethodInjector.ByMethodName,MethodInjector.ByReflectionMethod,MultiInjector,NamedFieldInjector,NamedMethodInjector,ProviderAdapter,SetterInjector,SingleMemberInjector,TypedFieldInjector
Implementers are responsible for instantiating and injecting dependancies into
Constructors, Methods and Fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.picocontainer.ComponentAdapter
ComponentAdapter.NOTHING -
Method Summary
Modifier and TypeMethodDescriptiondecorateComponentInstance(PicoContainer container, Type into, T instance) A preexiting component instance can be injected into after instantiationMethods inherited from interface org.picocontainer.ComponentAdapter
accept, findAdapterOfType, getComponentImplementation, getComponentInstance, getComponentInstance, getComponentKey, getDelegate, getDescriptor, verify
-
Method Details
-
decorateComponentInstance
A preexiting component instance can be injected into after instantiation- Parameters:
container- the container that can provide injectable dependenciesinto-instance- the instance to- Returns:
-