Package | Description |
---|---|
org.picocontainer.defaults |
This package contains the default implementation of the
PicoContainer
API. |
Modifier and Type | Method and Description |
---|---|
private void |
InstantiatingComponentAdapter.checkConcrete() |
ComponentAdapter |
ComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a new component adapter based on the specified arguments.
|
ComponentAdapter |
CachingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters) |
ComponentAdapter |
DecoratingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters) |
ComponentAdapter |
ImplementationHidingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters) |
ComponentAdapter |
BeanPropertyComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a new component adapter based on the specified arguments.
|
ComponentAdapter |
ConstructorInjectionComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters) |
ComponentAdapter |
DefaultComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters) |
ComponentAdapter |
SetterInjectionComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a
SetterInjectionComponentAdapter . |
java.lang.Object |
ImplementationHidingComponentAdapter.getComponentInstance(PicoContainer container) |
java.lang.Object |
BeanPropertyComponentAdapter.getComponentInstance(PicoContainer container)
Get a component instance and set given property values.
|
java.lang.Object |
CachingComponentAdapter.getComponentInstance(PicoContainer container) |
java.lang.Object |
ConstructorInjectionComponentAdapter.getComponentInstance(PicoContainer container) |
java.lang.Object |
SetterInjectionComponentAdapter.getComponentInstance(PicoContainer container) |
protected java.lang.reflect.Constructor |
ConstructorInjectionComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container) |
protected abstract java.lang.reflect.Constructor |
InstantiatingComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container)
Find and return the greediest satisfiable constructor.
|
protected java.lang.reflect.Constructor |
SetterInjectionComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container) |
Constructor and Description |
---|
ConstructorInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation)
Creates a ConstructorInjectionComponentAdapter with key and implementation
|
ConstructorInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses)
Creates a ConstructorInjectionComponentAdapter
|
ConstructorInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor)
Creates a ConstructorInjectionComponentAdapter
|
ConstructorInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Creates a ConstructorInjectionComponentAdapter
|
InstanceComponentAdapter(java.lang.Object componentKey,
java.lang.Object componentInstance) |
InstanceComponentAdapter(java.lang.Object componentKey,
java.lang.Object componentInstance,
LifecycleStrategy lifecycleStrategy) |
SetterInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Constructs a SetterInjectionComponentAdapter with key, implementation and parameters.
|
SetterInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses)
Constructs a SetterInjectionComponentAdapter with a
DelegatingComponentMonitor as default. |
SetterInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor)
Constructs a SetterInjectionComponentAdapter
|
SetterInjectionComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters,
boolean allowNonPublicClasses,
ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy)
Constructs a SetterInjectionComponentAdapter
|