Package | Description |
---|---|
org.picocontainer |
This package contains the core API for PicoContainer, a compact container for working with the
dependency injection pattern.
|
org.picocontainer.containers |
Containers are the main user entry point for PicoContainer.
|
org.picocontainer.defaults | |
org.picocontainer.injectors |
InjectionFactories make Injectors which implement specific types of dependency injection
|
org.picocontainer.parameters |
Modifier and Type | Method and Description |
---|---|
<T> ComponentAdapter<T> |
PicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.
|
<T> ComponentAdapter<T> |
DefaultPicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.
|
boolean |
Parameter.isResolvable(PicoContainer container,
ComponentAdapter<?> forAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Deprecated.
|
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.
|
Object |
Parameter.resolveInstance(PicoContainer container,
ComponentAdapter<?> forAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Deprecated.
|
void |
Parameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Verify that the Parameter can satisfy the expected type using the container
|
Modifier and Type | Method and Description |
---|---|
<T> ComponentAdapter<T> |
AbstractDelegatingPicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding componentNameBinding) |
<T> ComponentAdapter<T> |
ImmutablePicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding componentNameBinding) |
<T> ComponentAdapter<T> |
CompositePicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding nameBinding) |
<T> ComponentAdapter<T> |
EmptyPicoContainer.getComponentAdapter(Class<T> componentType,
NameBinding componentNameBinding) |
Modifier and Type | Class and Description |
---|---|
static class |
ResolveAdapterReductionTestCase.FooNameBinding |
Modifier and Type | Class and Description |
---|---|
class |
ParameterNameBinding |
Modifier and Type | Method and Description |
---|---|
protected NameBinding |
NamedMethodInjector.makeParameterNameImpl(AccessibleObject member) |
protected NameBinding |
IterativeInjector.makeParameterNameImpl(AccessibleObject member) |
protected NameBinding |
NamedFieldInjector.makeParameterNameImpl(AccessibleObject member) |
protected NameBinding |
AnnotatedFieldInjector.makeParameterNameImpl(AccessibleObject member) |
protected NameBinding |
TypedFieldInjector.makeParameterNameImpl(AccessibleObject member) |
Modifier and Type | Class and Description |
---|---|
static class |
ParameterTestCase.FooNameBinding |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractParameter.isResolvable(PicoContainer container,
ComponentAdapter<?> forAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Deprecated.
|
Parameter.Resolver |
DefaultConstructorParameter.resolve(PicoContainer container,
ComponentAdapter<?> forAdapter,
ComponentAdapter<?> injecteeAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
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 |
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 |
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.
|
Parameter.Resolver |
ComponentParameter.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) |
protected <T> ComponentAdapter<T> |
BasicComponentParameter.resolveAdapter(PicoContainer container,
ComponentAdapter adapter,
Class<T> expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
Object |
AbstractParameter.resolveInstance(PicoContainer container,
ComponentAdapter<?> forAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Deprecated.
|
void |
DefaultConstructorParameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
void |
NullParameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Verify that the Parameter can satisfy the expected type using the container
|
void |
BasicComponentParameter.verify(PicoContainer container,
ComponentAdapter<?> forAdapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
void |
CollectionComponentParameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Verify a successful dependency resolution of the parameter for the expected type.
|
void |
ComponentParameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding) |
void |
ConstantParameter.verify(PicoContainer container,
ComponentAdapter<?> adapter,
Type expectedType,
NameBinding expectedNameBinding,
boolean useNames,
Annotation binding)
Verify that the Parameter can satisfy the expected type using the container
|
Copyright © 2003–2016 Codehaus. All rights reserved.