Package | Description |
---|---|
org.picocontainer |
This package contains the core API for PicoContainer, a compact container for working with the
dependency injection pattern.
|
org.picocontainer.parameters |
Modifier and Type | Class and Description |
---|---|
static class |
Parameter.DelegateResolver
Delegate to another reolver
|
static class |
Parameter.NotResolved
The Parameter cannot (ever) be resolved
|
static class |
Parameter.ValueResolver
A fixed value wrapped as a Resolver
|
Modifier and Type | Method and Description |
---|---|
Parameter.Resolver |
Parameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Check if the Parameter can satisfy the expected type using the container.
|
Constructor and Description |
---|
DelegateResolver(Parameter.Resolver delegate) |
Modifier and Type | Method and Description |
---|---|
Parameter.Resolver |
DefaultConstructorParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
Parameter.Resolver |
ConstantParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
Parameter.Resolver |
BasicComponentParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Check whether the given Parameter can be satisfied by the container.
|
Parameter.Resolver |
NullParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Check if the Parameter can satisfy the expected type using the container.
|
Parameter.Resolver |
ComponentParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
Parameter.Resolver |
CollectionComponentParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Check for a successful dependency resolution of the parameter for the expected type.
|
Copyright © 2003–2015 Codehaus. All rights reserved.