Package | Description |
---|---|
org.picocontainer |
This package contains the core API for PicoContainer, a compact container for working with the
dependency injection pattern.
|
org.picocontainer.defaults |
This package contains the default implementation of the
PicoContainer
API. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
ComponentAdapter.getComponentInstance(PicoContainer container)
Retrieve the component instance.
|
void |
ComponentAdapter.verify(PicoContainer container)
Verify that all dependencies for this adapter can be satisifed.
|
Modifier and Type | Class and Description |
---|---|
class |
AmbiguousComponentResolutionException
Exception that is thrown as part of the introspection.
|
class |
CyclicDependencyException |
class |
TooManySatisfiableConstructorsException |
class |
UnsatisfiableDependenciesException
Exception thrown when some of the component's dependencies are not satisfiable.
|
Modifier and Type | Method and Description |
---|---|
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 |
DecoratingComponentAdapter.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) |
java.lang.Object |
SynchronizedComponentAdapter.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) |
void |
DecoratingComponentAdapter.verify(PicoContainer container) |
void |
InstantiatingComponentAdapter.verify(PicoContainer container) |
void |
SetterInjectionComponentAdapter.verify(PicoContainer container) |