| org.picocontainer.injectors.ConstructorInjector
ConstructorInjector | public class ConstructorInjector extends SingleMemberInjector (Code) | | Injection will happen through a constructor for the component.
author: Paul Hammant author: Aslak Hellesøy author: Jon Tirsén author: Zohar Melamed author: Jörg Schaible author: Mauro Talevi |
ConstructorInjector | public ConstructorInjector(Object componentKey, Class> componentImplementation, Parameter... parameters)(Code) | | Constructor injector that uses no monitor and no lifecycle adapter. This is a more
convenient constructor for use when instantiating a constructor injector directly.
Parameters: componentKey - the search key for this implementation Parameters: componentImplementation - the concrete implementation Parameters: parameters - the parameters used for initialization |
ConstructorInjector | public ConstructorInjector(Object componentKey, Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, boolean useNames) throws NotConcreteRegistrationException(Code) | | Creates a ConstructorInjector
Parameters: componentKey - the search key for this implementation Parameters: componentImplementation - the concrete implementation Parameters: parameters - the parameters to use for the initialization Parameters: monitor - the component monitor used by this addAdapter Parameters: lifecycleStrategy - the component lifecycle strategy used by this addAdapter Parameters: useNames - use argument names when looking up dependencies throws: org.picocontainer.injectors.AbstractInjector.NotConcreteRegistrationException - if the implementation is not a concrete class. throws: NullPointerException - if one of the parameters is null |
|
|