Package org.picocontainer.injectors
package org.picocontainer.injectors
InjectionFactories make Injectors which implement specific types of dependency injection
-
ClassDescriptionThis ComponentAdapter will instantiate a new object for each call to
ComponentAdapter.getComponentInstance(PicoContainer, Type)
.Exception that is thrown as part of the introspection.Exception thrown when some of the component's dependencies are not satisfiable.Creates injector instances, depending on the injection characteristics of the component class.AInjectionFactory
for Guice-style annotated fields.Injection happens after instantiation, and through fields marked as injection points via an Annotation.AInjectionFactory
for Guice-style annotated methods.A Composite of other types on InjectionFactories - pass them into the varargs constructor.AInjectionFactory
for constructor injection.Injection will happen through a constructor for the component.An Injector which provides an custom instance in a factory styleConstructor Injection where 'which constructor?' is re-calculated each time an instance is asked to construct a component.convenience class providing static methods to conveniently create injectors ( like org.junit.Assert )Injection will happen iteratively after component instantiationAInjectionFactory
for methods.Injection will happen through a single method for the component.AInjectionFactory
for named fields.Injection happens after instantiation, and fields are marked as injection points via a named field.Providers are a type of Injector that can participate in Injection via a custom method.Providers are a type of Injector that can participate in Injection via a custom method.A Reinjector allows methods on pre-instantiated classes to be invoked, with appropriately scoped parameters.AInjectionFactory
for JavaBeans.Instantiates components using empty constructors and Setter Injection.Injection will happen in a single member function on the component.AInjectionFactory
for named fields.Injection happens after instantiation, and fields are marked as injection points via a field type.