Package | Description |
---|---|
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. |
org.picocontainer.monitors |
Modifier and Type | Class and Description |
---|---|
class |
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. |
class |
PicoInstantiationException
Deprecated.
since 1.2; it was actually not instantiated anywhere
|
class |
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. |
class |
PicoLifecycleException |
class |
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. |
class |
PicoVerificationException
Subclass of
PicoException that is thrown when a PicoContainer hierarchy
cannot be verified. |
Modifier and Type | Method and Description |
---|---|
java.util.List |
AbstractDelegatingMutablePicoContainer.getComponentInstancesOfType(java.lang.Class type) |
java.util.List |
ImmutablePicoContainer.getComponentInstancesOfType(java.lang.Class type)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
AmbiguousComponentResolutionException
Exception that is thrown as part of the introspection.
|
class |
AssignabilityRegistrationException
A subclass of
PicoRegistrationException that is thrown during component registration if the
component's key is a type and the implementation is not assignable to. |
class |
CyclicDependencyException |
class |
DuplicateComponentKeyRegistrationException |
class |
NotConcreteRegistrationException |
class |
PicoInvocationTargetInitializationException |
class |
PicoVisitorTraversalException
Exception for a PicoVisitor, that is dependent on a defined starting point of the traversal.
|
class |
TooManySatisfiableConstructorsException |
class |
UnsatisfiableDependenciesException
Exception thrown when some of the component's dependencies are not satisfiable.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
DefaultPicoContainer.getComponentInstances() |
void |
ConstantParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify that the Parameter can statisfied the expected type using the container
|
Modifier and Type | Class and Description |
---|---|
class |
LifecycleComponentMonitor.LifecycleFailuresException
Subclass of
PicoException that is thrown when the collected
lifecycle failures need to be be collectively rethrown. |