|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PicoContainer | |
---|---|
org.picocontainer | This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern. |
org.picocontainer.alternatives | |
org.picocontainer.defaults | This package contains the default implementation of the PicoContainer
API. |
Uses of PicoContainer in org.picocontainer |
---|
Subinterfaces of PicoContainer in org.picocontainer | |
---|---|
interface |
MutablePicoContainer
This is the core interface used for registration of components with a container. |
Methods in org.picocontainer that return PicoContainer | |
---|---|
PicoContainer |
PicoContainer.getParent()
Retrieve the parent container of this container. |
Methods in org.picocontainer with parameters of type PicoContainer | |
---|---|
boolean |
MutablePicoContainer.addChildContainer(PicoContainer child)
Add a child container. |
void |
LifecycleManager.dispose(PicoContainer container)
Invoke the "dispose" method on the container's components. |
java.lang.Object |
ComponentAdapter.getComponentInstance(PicoContainer container)
Retrieve the component instance. |
boolean |
Parameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check if the Parameter can statisfy the expected type using the container. |
boolean |
MutablePicoContainer.removeChildContainer(PicoContainer child)
Remove a child container from this container. |
java.lang.Object |
Parameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Retrieve the object from the Parameter that statisfies the expected type. |
void |
LifecycleManager.start(PicoContainer container)
Invoke the "start" method on the container's components. |
void |
LifecycleManager.stop(PicoContainer container)
Invoke the "stop" method on the container's components. |
void |
ComponentAdapter.verify(PicoContainer container)
Verify that all dependencies for this adapter can be satisifed. |
void |
Parameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify that the Parameter can statisfied the expected type using the container |
void |
PicoVisitor.visitContainer(PicoContainer pico)
Visit a PicoContainer that has to accept the visitor. |
Uses of PicoContainer in org.picocontainer.alternatives |
---|
Classes in org.picocontainer.alternatives that implement PicoContainer | |
---|---|
class |
AbstractDelegatingMutablePicoContainer
|
class |
CachingPicoContainer
The Caching version of DefaultPicoContainer |
class |
EmptyPicoContainer
empty pico container serving as recoil damper in situations where you do not like to check whether container reference suplpied to you is null or not |
class |
ImmutablePicoContainer
Deprecated. since 1.2, use the ImmutablePicoContainerProxyFactory |
class |
ImplementationHidingCachingPicoContainer
This special MutablePicoContainer hides implementations of components if the key is an interface. |
class |
ImplementationHidingPicoContainer
This special MutablePicoContainer hides implementations of components if the key is an interface. |
Fields in org.picocontainer.alternatives declared as PicoContainer | |
---|---|
private PicoContainer |
ImmutablePicoContainer.delegate
Deprecated. |
Methods in org.picocontainer.alternatives that return PicoContainer | |
---|---|
PicoContainer |
EmptyPicoContainer.getParent()
|
PicoContainer |
ImmutablePicoContainer.getParent()
Deprecated. |
PicoContainer |
AbstractDelegatingMutablePicoContainer.getParent()
|
Methods in org.picocontainer.alternatives with parameters of type PicoContainer | |
---|---|
boolean |
AbstractDelegatingMutablePicoContainer.addChildContainer(PicoContainer child)
|
boolean |
AbstractDelegatingMutablePicoContainer.removeChildContainer(PicoContainer child)
|
Constructors in org.picocontainer.alternatives with parameters of type PicoContainer | |
---|---|
CachingPicoContainer(ComponentAdapterFactory caf,
PicoContainer parent)
Creates a new container with a parent container. |
|
CachingPicoContainer(PicoContainer parent)
Creates a new container with a parent container. |
|
ImmutablePicoContainer(PicoContainer delegate)
Deprecated. |
|
ImplementationHidingCachingPicoContainer(ComponentAdapterFactory caf,
PicoContainer parent)
Creates a new container with a parent container. |
|
ImplementationHidingCachingPicoContainer(PicoContainer parent)
Creates a new container with a parent container. |
|
ImplementationHidingPicoContainer(ComponentAdapterFactory caf,
PicoContainer parent)
Creates a new container with a parent container. |
|
ImplementationHidingPicoContainer(PicoContainer parent)
Creates a new container with a parent container. |
Uses of PicoContainer in org.picocontainer.defaults |
---|
Classes in org.picocontainer.defaults that implement PicoContainer | |
---|---|
class |
DefaultPicoContainer
The Standard PicoContainer /MutablePicoContainer implementation. |
Fields in org.picocontainer.defaults declared as PicoContainer | |
---|---|
private PicoContainer |
VerifyingVisitor.currentPico
|
protected PicoContainer |
ConstructorInjectionComponentAdapter.Guard.guardedContainer
|
protected PicoContainer |
InstantiatingComponentAdapter.Guard.guardedContainer
|
private PicoContainer |
UnsatisfiableDependenciesException.leafContainer
|
private PicoContainer |
DefaultPicoContainer.parent
|
private PicoContainer |
ImmutablePicoContainerProxyFactory.pico
|
Methods in org.picocontainer.defaults that return PicoContainer | |
---|---|
PicoContainer |
UnsatisfiableDependenciesException.getLeafContainer()
|
PicoContainer |
DefaultPicoContainer.getParent()
|
static PicoContainer |
ImmutablePicoContainerProxyFactory.newProxyInstance(PicoContainer pico)
Create a new immutable PicoContainer proxy. |
Methods in org.picocontainer.defaults with parameters of type PicoContainer | |
---|---|
boolean |
DefaultPicoContainer.addChildContainer(PicoContainer child)
|
private boolean |
DefaultPicoContainer.childStarted(PicoContainer child)
Checks the status of the child container to see if it's been started to prevent IllegalStateException upon stop |
private java.lang.Object |
BeanPropertyComponentAdapter.convertType(PicoContainer container,
java.lang.reflect.Method setter,
java.lang.String propertyValue)
|
private java.lang.Object |
ImplementationHidingComponentAdapter.createProxy(java.lang.Class[] interfaces,
PicoContainer container,
java.lang.ClassLoader classLoader)
|
void |
InstanceComponentAdapter.dispose(PicoContainer container)
|
void |
DecoratingComponentAdapter.dispose(PicoContainer container)
Invokes delegate dispose method if the delegate is a LifecycleManager Invoke the "dispose" method on the container's components. |
void |
CachingComponentAdapter.dispose(PicoContainer container)
Disposes the cached component instance Invokes delegate dispose method if the delegate is a LifecycleManager Invoke the "dispose" method on the container's components. |
void |
DefaultPicoContainer.OrderedComponentAdapterLifecycleManager.dispose(PicoContainer node)
Invoke the "dispose" method on the container's components. |
private java.lang.Object[] |
CollectionComponentParameter.getArrayInstance(PicoContainer container,
java.lang.Class expectedType,
java.util.Map adapterList)
|
private java.util.Collection |
CollectionComponentParameter.getCollectionInstance(PicoContainer container,
java.lang.Class expectedType,
java.util.Map adapterList)
|
java.lang.Object |
InstanceComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
SynchronizedComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
ConstructorInjectionComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
DecoratingComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
CachingComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
BeanPropertyComponentAdapter.getComponentInstance(PicoContainer container)
Get a component instance and set given property values. |
java.lang.Object |
ImplementationHidingComponentAdapter.getComponentInstance(PicoContainer container)
|
java.lang.Object |
SetterInjectionComponentAdapter.getComponentInstance(PicoContainer container)
|
protected java.lang.Object[] |
ConstructorInjectionComponentAdapter.getConstructorArguments(PicoContainer container,
java.lang.reflect.Constructor ctor)
|
protected java.lang.reflect.Constructor |
ConstructorInjectionComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container)
|
protected java.lang.reflect.Constructor |
SetterInjectionComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container)
|
protected abstract java.lang.reflect.Constructor |
InstantiatingComponentAdapter.getGreediestSatisfiableConstructor(PicoContainer container)
Find and return the greediest satisfiable constructor. |
private java.util.Map |
CollectionComponentParameter.getMapInstance(PicoContainer container,
java.lang.Class expectedType,
java.util.Map adapterList)
|
protected java.util.Map |
CollectionComponentParameter.getMatchingComponentAdapters(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class keyType,
java.lang.Class valueType)
Collect the matching ComponentAdapter instances. |
private Parameter[] |
SetterInjectionComponentAdapter.getMatchingParameterListForSetters(PicoContainer container)
|
private java.lang.Object |
BeanPropertyComponentAdapter.getSetterParameter(java.lang.String propertyName,
java.lang.Object propertyValue,
java.lang.Object componentInstance,
PicoContainer container)
Converts and validates the given property value to an appropriate object for calling the bean's setter. |
private ComponentAdapter |
BasicComponentParameter.getTargetAdapter(PicoContainer container,
java.lang.Class expectedType,
ComponentAdapter excludeAdapter)
|
boolean |
BasicComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check wether the given Parameter can be statisfied by the container. |
boolean |
ConstantParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
boolean |
ComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
boolean |
CollectionComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check for a successful dependency resolution of the parameter for the expected type. |
static PicoContainer |
ImmutablePicoContainerProxyFactory.newProxyInstance(PicoContainer pico)
Create a new immutable PicoContainer proxy. |
boolean |
DefaultPicoContainer.removeChildContainer(PicoContainer child)
|
private ComponentAdapter |
BasicComponentParameter.resolveAdapter(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
BasicComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
ConstantParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
ComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
CollectionComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Resolve the parameter for the expected type. |
private void |
ConstructorInjectionComponentAdapter.Guard.setArguments(PicoContainer container)
|
protected void |
InstantiatingComponentAdapter.Guard.setArguments(PicoContainer container)
|
void |
InstanceComponentAdapter.start(PicoContainer container)
|
void |
DecoratingComponentAdapter.start(PicoContainer container)
Invokes delegate start method if the delegate is a LifecycleManager Invoke the "start" method on the container's components. |
void |
CachingComponentAdapter.start(PicoContainer container)
Starts the cached component instance Invokes delegate start method if the delegate is a LifecycleManager Invoke the "start" method on the container's components. |
void |
DefaultPicoContainer.OrderedComponentAdapterLifecycleManager.start(PicoContainer node)
Invoke the "start" method on the container's components. |
void |
InstanceComponentAdapter.stop(PicoContainer container)
|
void |
DecoratingComponentAdapter.stop(PicoContainer container)
Invokes delegate stop method if the delegate is a LifecycleManager Invoke the "stop" method on the container's components. |
void |
CachingComponentAdapter.stop(PicoContainer container)
Stops the cached component instance Invokes delegate stop method if the delegate is a LifecycleManager Invoke the "stop" method on the container's components. |
void |
DefaultPicoContainer.OrderedComponentAdapterLifecycleManager.stop(PicoContainer node)
Invoke the "stop" method on the container's components. |
void |
InstanceComponentAdapter.verify(PicoContainer container)
|
void |
DecoratingComponentAdapter.verify(PicoContainer container)
|
void |
SetterInjectionComponentAdapter.verify(PicoContainer container)
|
void |
InstantiatingComponentAdapter.verify(PicoContainer container)
|
void |
BasicComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
void |
ConstantParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify that the Parameter can statisfied the expected type using the container |
void |
ComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
void |
CollectionComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify a successful dependency resolution of the parameter for the expected type. |
void |
MethodCallingVisitor.visitContainer(PicoContainer pico)
|
void |
VerifyingVisitor.visitContainer(PicoContainer pico)
|
void |
VerifyingVisitor.ComponentAdapterCollector.visitContainer(PicoContainer pico)
|
void |
TraversalCheckingVisitor.visitContainer(PicoContainer pico)
|
Constructors in org.picocontainer.defaults with parameters of type PicoContainer | |
---|---|
DefaultPicoContainer(ComponentAdapterFactory componentAdapterFactory,
LifecycleStrategy lifecycleStrategyForInstanceRegistrations,
PicoContainer parent)
Creates a new container with a custom ComponentAdapterFactory, LifecycleStrategy for instance registration, and a parent container. |
|
DefaultPicoContainer(ComponentAdapterFactory componentAdapterFactory,
PicoContainer parent)
Creates a new container with a custom ComponentAdapterFactory and a parent container. |
|
DefaultPicoContainer(ComponentMonitor monitor,
LifecycleStrategy lifecycleStrategy,
PicoContainer parent)
Creates a new container with the DefaultComponentAdapterFactory using a custom ComponentMonitor and lifecycle strategy |
|
DefaultPicoContainer(ComponentMonitor monitor,
PicoContainer parent)
Creates a new container with the DefaultComponentAdapterFactory using a custom ComponentMonitor |
|
DefaultPicoContainer(LifecycleStrategy lifecycleStrategy,
PicoContainer parent)
Creates a new container with the DefaultComponentAdapterFactory using a custom lifecycle strategy |
|
DefaultPicoContainer(PicoContainer parent)
Creates a new container with a (caching) DefaultComponentAdapterFactory
and a parent container. |
|
ImmutablePicoContainerProxyFactory(PicoContainer pico)
Construct a ImmutablePicoContainerProxyFactory. |
|
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
java.lang.Class unsatisfiedDependencyType,
java.util.Set unsatisfiableDependencies,
PicoContainer leafContainer)
|
|
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
java.util.Set unsatisfiableDependencies,
PicoContainer leafContainer)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |