Uses of Interface
org.picocontainer.NameBinding
-
Packages that use NameBinding 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.injectors InjectionFactories make Injectors which implement specific types of dependency injectionorg.picocontainer.parameters -
-
Uses of NameBinding in org.picocontainer
Methods in org.picocontainer with parameters of type NameBinding Modifier and Type Method Description <T> ComponentAdapter<T>
DefaultPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.<T> ComponentAdapter<T>
PicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.boolean
Parameter. isResolvable(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.Parameter.Resolver
Parameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check if the Parameter can satisfy the expected type using the container.java.lang.Object
Parameter. resolveInstance(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.void
Parameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the container -
Uses of NameBinding in org.picocontainer.containers
Methods in org.picocontainer.containers with parameters of type NameBinding Modifier and Type Method Description <T> ComponentAdapter<T>
AbstractDelegatingPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
<T> ComponentAdapter<T>
CompositePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding nameBinding)
<T> ComponentAdapter<T>
EmptyPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
<T> ComponentAdapter<T>
ImmutablePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
-
Uses of NameBinding in org.picocontainer.injectors
Classes in org.picocontainer.injectors that implement NameBinding Modifier and Type Class Description class
ParameterNameBinding
Methods in org.picocontainer.injectors that return NameBinding Modifier and Type Method Description protected NameBinding
AnnotatedFieldInjector. makeParameterNameImpl(java.lang.reflect.AccessibleObject member)
protected NameBinding
IterativeInjector. makeParameterNameImpl(java.lang.reflect.AccessibleObject member)
protected NameBinding
NamedFieldInjector. makeParameterNameImpl(java.lang.reflect.AccessibleObject member)
protected NameBinding
NamedMethodInjector. makeParameterNameImpl(java.lang.reflect.AccessibleObject member)
protected NameBinding
TypedFieldInjector. makeParameterNameImpl(java.lang.reflect.AccessibleObject member)
-
Uses of NameBinding in org.picocontainer.parameters
Methods in org.picocontainer.parameters with parameters of type NameBinding Modifier and Type Method Description boolean
AbstractParameter. isResolvable(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.Parameter.Resolver
BasicComponentParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check whether the given Parameter can be satisfied by the container.Parameter.Resolver
CollectionComponentParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.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, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
ConstantParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
DefaultConstructorParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Parameter.Resolver
NullParameter. resolve(PicoContainer container, ComponentAdapter<?> forAdapter, ComponentAdapter<?> injecteeAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Check if the Parameter can satisfy the expected type using the container.protected <T> ComponentAdapter<T>
BasicComponentParameter. resolveAdapter(PicoContainer container, ComponentAdapter adapter, java.lang.Class<T> expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
java.lang.Object
AbstractParameter. resolveInstance(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.void
BasicComponentParameter. verify(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
CollectionComponentParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify a successful dependency resolution of the parameter for the expected type.void
ComponentParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
ConstantParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the containervoid
DefaultConstructorParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
void
NullParameter. verify(PicoContainer container, ComponentAdapter<?> adapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Verify that the Parameter can satisfy the expected type using the container
-