Package org.picocontainer

This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.

See:
          Description

Interface Summary
ComponentAdapter A component adapter is responsible for providing a specific component instance.
Disposable An interface which is implemented by components that need to dispose of resources during the shutdown of that component.
MutablePicoContainer This is the core interface used for registration of components with a container.
Parameter This class provides control over the arguments that will be passed to a constructor.
PicoContainer This is the core interface for PicoContainer.
Startable An interface which is implemented by components that can be started and stopped.
 

Exception Summary
PicoException Superclass for all Exceptions in PicoContainer.
PicoInitializationException Subclass of PicoException that is thrown when there is a problem initializing the container or some other part of the PicoContainer api, for example, when a cyclic dependency between components occurs.
PicoInstantiationException Subclass of PicoException that is thrown when there is a problem creating an instance of a container or some other part of the PicoContainer api, for example, when an invocation through the reflection api fails.
PicoIntrospectionException Subclass of PicoException that is thrown when there is a problem creating, providing or locating a component instance or a part of the PicoContainer API, for example, when a request for a component is ambiguous.
PicoRegistrationException Subclass of PicoException that is thrown when there is a problem registering a component with the container or another part of the PicoContainer API, for example, when a request for a component is ambiguous.
PicoVerificationException Subclass of PicoException that is thrown when there is a problem with the internal state of the container or another part of the PicoContainer API, for example when a needed dependency cannot be resolved.
 

Package org.picocontainer Description

This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.

When you use PicoContainer for dependency injection, you create a new instance of MutablePicoContainer, register classes (and possibly ComponentAdapters and component instances created through other means).

Object instances can then be accessed through the PicoContainer interface. The container will create all instances for you automatically, resolving their dependencies and order of instantiation. The default container implementation is the DefaultPicoContainer class.

An extensive user guide, a list of Frequently Asked Questions (FAQ) with answers, and a lot more information is available from the PicoContainer website. You can also find various extensions, wrappers and utility libraries that are based on this core API there.



Copyright © 2003-2004 Codehaus. All Rights Reserved.