Uses of Interface
org.picocontainer.ComponentAdapter
-
Packages that use ComponentAdapter Package Description org.picocontainer This package contains the core API for PicoContainer, a compact container for working with the dependency injection pattern.org.picocontainer.adapters org.picocontainer.behaviors BehaviorFactories make Behaviors which change aspects of component implementations and instancesorg.picocontainer.classname 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.lifecycle Alternative implementations of lifecycle strategy for use with a container.org.picocontainer.monitors A Monitor is something PicoContainer uses to inform on events in component instantiation and lifecycle.org.picocontainer.parameters org.picocontainer.visitors -
-
Uses of ComponentAdapter in org.picocontainer
Subinterfaces of ComponentAdapter in org.picocontainer Modifier and Type Interface Description interface
Behavior<T>
Behaviors modify the components created by a Injector with additional behaviorsinterface
Injector<T>
Implementers are responsible for instantiating and injecting dependancies into Constructors, Methods and Fields.Classes in org.picocontainer that implement ComponentAdapter Modifier and Type Class Description static class
DefaultPicoContainer.KnowsContainerAdapter<T>
static class
DefaultPicoContainer.LateInstance
Fields in org.picocontainer with type parameters of type ComponentAdapter Modifier and Type Field Description protected java.util.List<ComponentAdapter<?>>
DefaultPicoContainer. orderedComponentAdapters
Methods in org.picocontainer with type parameters of type ComponentAdapter Modifier and Type Method Description <U extends ComponentAdapter>
UComponentAdapter. findAdapterOfType(java.lang.Class<U> adapterType)
Locates a component adapter of type componentAdapterType in the ComponentAdapter chain.<U extends ComponentAdapter>
UDefaultPicoContainer.KnowsContainerAdapter. findAdapterOfType(java.lang.Class<U> adapterType)
Methods in org.picocontainer that return ComponentAdapter Modifier and Type Method Description <T> ComponentAdapter<T>
BehaviorFactory. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
ComponentFactory. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
Create a new component adapter based on the specified arguments.<T> ComponentAdapter<T>
DefaultPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
Find a component adapter associated with the specified type and binding type.<T> ComponentAdapter<T>
DefaultPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.ComponentAdapter<?>
DefaultPicoContainer. getComponentAdapter(java.lang.Object componentKey)
Find a component adapter associated with the specified key.ComponentAdapter<?>
Parameter.DelegateResolver. getComponentAdapter()
ComponentAdapter<?>
Parameter.NotResolved. getComponentAdapter()
ComponentAdapter<?>
Parameter.Resolver. getComponentAdapter()
ComponentAdapter<?>
Parameter.ValueResolver. getComponentAdapter()
<T> ComponentAdapter<T>
PicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
Find a component adapter associated with the specified type and binding type.<T> ComponentAdapter<T>
PicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
Find a component adapter associated with the specified type and binding name.ComponentAdapter<?>
PicoContainer. getComponentAdapter(java.lang.Object componentKey)
Find a component adapter associated with the specified key.ComponentAdapter<T>
ComponentAdapter. getDelegate()
Component adapters may be nested in a chain, and this method is used to grab the next ComponentAdapter in the chain.ComponentAdapter
DefaultPicoContainer.KnowsContainerAdapter. getDelegate()
<T> ComponentAdapter<T>
DefaultPicoContainer. removeComponent(java.lang.Object componentKey)
Unregister a component by key.<T> ComponentAdapter<T>
MutablePicoContainer. removeComponent(java.lang.Object componentKey)
Unregister a component by key.<T> ComponentAdapter<T>
DefaultPicoContainer. removeComponentByInstance(T componentInstance)
Unregister a component by instance.<T> ComponentAdapter<T>
MutablePicoContainer. removeComponentByInstance(T componentInstance)
Unregister a component by instance.Methods in org.picocontainer that return types with arguments of type ComponentAdapter Modifier and Type Method Description java.util.Collection<ComponentAdapter<?>>
DefaultPicoContainer. getComponentAdapters()
Retrieve all the component adapters inside this container.<T> java.util.List<ComponentAdapter<T>>
DefaultPicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
Retrieve all component adapters inside this container that are associated with the specified type.<T> java.util.List<ComponentAdapter<T>>
DefaultPicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
Retrieve all component adapters inside this container that are associated with the specified type and binding type.java.util.Collection<ComponentAdapter<?>>
PicoContainer. getComponentAdapters()
Retrieve all the component adapters inside this container.<T> java.util.List<ComponentAdapter<T>>
PicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
Retrieve all component adapters inside this container that are associated with the specified type.<T> java.util.List<ComponentAdapter<T>>
PicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
Retrieve all component adapters inside this container that are associated with the specified type and binding type.protected java.util.Map<java.lang.Object,ComponentAdapter<?>>
DefaultPicoContainer. getComponentKeyToAdapterCache()
protected java.util.Set<ComponentAdapter<?>>
DefaultPicoContainer. getModifiableComponentAdapterList()
protected java.util.List<ComponentAdapter<?>>
DefaultPicoContainer. getOrderedComponentAdapters()
Methods in org.picocontainer with parameters of type ComponentAdapter Modifier and Type Method Description MutablePicoContainer
DefaultPicoContainer. addAdapter(ComponentAdapter<?> componentAdapter)
Register a component via a ComponentAdapter.MutablePicoContainer
DefaultPicoContainer. addAdapter(ComponentAdapter<?> componentAdapter, java.util.Properties properties)
MutablePicoContainer
MutablePicoContainer. addAdapter(ComponentAdapter<?> componentAdapter)
Register a component via a ComponentAdapter.protected MutablePicoContainer
DefaultPicoContainer. addAdapterInternal(ComponentAdapter<?> componentAdapter)
<T> ComponentAdapter<T>
BehaviorFactory. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
protected java.lang.Object
DefaultPicoContainer. decorateComponent(java.lang.Object component, ComponentAdapter<?> componentAdapter)
This is invoked when getComponent(..) is called.protected void
DefaultPicoContainer. instantiateComponentAsIsStartable(ComponentAdapter<?> adapter)
<T> void
ComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
Event thrown after the component has been instantiated using the given constructor.<T> java.lang.reflect.Constructor<T>
ComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
Event thrown as the component is being instantiated using the given constructor<T> void
ComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
Event thrown if the component instantiation failed using the given constructorvoid
ComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
Event thrown after the component method has been invoked on the given instancejava.lang.Object
ComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
Event thrown as the component method is being invoked on the given instanceboolean
LifecycleStrategy. isLazy(ComponentAdapter<?> adapter)
Is a component eager (not lazy) in that it should start when start() or equivalent is called, or lazy (it will only start on first getComponent() ).boolean
Parameter. isResolvable(PicoContainer container, ComponentAdapter<?> forAdapter, java.lang.reflect.Type expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Deprecated.void
ComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
Event thrown if a lifecycle method invocation - start, stop or dispose - failed on the given instanceprotected void
DefaultPicoContainer. potentiallyStartAdapter(ComponentAdapter<?> adapter)
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 containervoid
PicoVisitor. visitComponentAdapter(ComponentAdapter<?> componentAdapter)
Visit aComponentAdapter
that has to accept the visitor.Constructors in org.picocontainer with parameters of type ComponentAdapter Constructor Description KnowsContainerAdapter(ComponentAdapter<T> ca, PicoContainer ctr)
ValueResolver(boolean resolvable, java.lang.Object value, ComponentAdapter<?> adapter)
-
Uses of ComponentAdapter in org.picocontainer.adapters
Classes in org.picocontainer.adapters that implement ComponentAdapter Modifier and Type Class Description class
AbstractAdapter<T>
Base class for a ComponentAdapter with general functionality.class
InstanceAdapter<T>
Component adapter which wraps a component instance.Methods in org.picocontainer.adapters with type parameters of type ComponentAdapter Modifier and Type Method Description <U extends ComponentAdapter>
UAbstractAdapter. findAdapterOfType(java.lang.Class<U> adapterType)
Methods in org.picocontainer.adapters that return ComponentAdapter Modifier and Type Method Description ComponentAdapter<T>
AbstractAdapter. getDelegate()
Methods in org.picocontainer.adapters with parameters of type ComponentAdapter Modifier and Type Method Description boolean
InstanceAdapter. isLazy(ComponentAdapter<?> adapter)
-
Uses of ComponentAdapter in org.picocontainer.behaviors
Classes in org.picocontainer.behaviors that implement ComponentAdapter Modifier and Type Class Description class
AbstractBehavior<T>
Component adapter which decorates another adapter.class
Automated<T>
class
Cached<T>
ComponentAdapter
implementation that caches the component instance.class
Decorated<T>
class
FieldDecorated
class
Guarded<T>
behaviour for allows components to be guarded by another componentclass
HiddenImplementation<T>
This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the key is an interface.class
Intercepted<T>
class
Locked<T>
class
PropertyApplicator<T>
Decorating component adapter that can be used to set additional properties on a component in a bean style.class
Stored<T>
class
Synchronized<T>
Component Adapter that uses java synchronized around getComponentInstance().class
ThreadCached<T>
This behavior supports caches values per thread.Fields in org.picocontainer.behaviors declared as ComponentAdapter Modifier and Type Field Description protected ComponentAdapter<T>
AbstractBehavior. delegate
Methods in org.picocontainer.behaviors with type parameters of type ComponentAdapter Modifier and Type Method Description <U extends ComponentAdapter>
UAbstractBehavior. findAdapterOfType(java.lang.Class<U> adapterType)
Methods in org.picocontainer.behaviors that return ComponentAdapter Modifier and Type Method Description <T> ComponentAdapter<T>
AbstractBehaviorFactory. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
AdaptingBehavior. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
ComponentAdapter
Automating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Caching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
Decorating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
ComponentAdapter
FieldDecorating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Guarding. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
ImplementationHiding. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Locking. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
OptInCaching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
PropertyApplying. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
Storing. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
Synchronizing. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
ThreadCaching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
AbstractBehaviorFactory. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
ComponentAdapter
AdaptingBehavior. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter... parameters)
ComponentAdapter
Automating. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Caching. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
ComponentAdapter
Decorating. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter... parameters)
ComponentAdapter
FieldDecorating. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Guarding. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
ComponentAdapter
ImplementationHiding. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Intercepting. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Locking. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
Create a new component adapter based on the specified arguments.<T> ComponentAdapter<T>
OptInCaching. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
PropertyApplying. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Storing. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
Synchronizing. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
Create a new component adapter based on the specified arguments.<T> ComponentAdapter<T>
ThreadCaching. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
ComponentAdapter<T>
AbstractBehavior. getDelegate()
Methods in org.picocontainer.behaviors with parameters of type ComponentAdapter Modifier and Type Method Description <T> ComponentAdapter<T>
AbstractBehaviorFactory. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
AdaptingBehavior. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
ComponentAdapter
Automating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Caching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
Decorating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
ComponentAdapter
FieldDecorating. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Guarding. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
ComponentAdapter
ImplementationHiding. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter adapter)
<T> ComponentAdapter<T>
Locking. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
OptInCaching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
PropertyApplying. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
Storing. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
Synchronizing. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
<T> ComponentAdapter<T>
ThreadCaching. addComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, ComponentAdapter<T> adapter)
static Behavior
Behavior. cached(ComponentAdapter delegate)
static Behavior
Behavior. cached(ComponentAdapter delegate, ObjectReference instanceReference)
static Behavior
Behavior. decorated(ComponentAdapter delegate, org.picocontainer.behaviors.Decorated.Decorator decorator)
boolean
AbstractBehavior. isLazy(ComponentAdapter<?> adapter)
Constructors in org.picocontainer.behaviors with parameters of type ComponentAdapter Constructor Description AbstractBehavior(ComponentAdapter<T> delegate)
Automated(ComponentAdapter<T> delegate)
Cached(ComponentAdapter delegate)
Cached(ComponentAdapter delegate, ObjectReference<Stored.Instance<T>> instanceReference)
Decorated(ComponentAdapter<T> delegate, org.picocontainer.behaviors.Decorated.Decorator decorator)
FieldDecorated(ComponentAdapter delegate, java.lang.Class<?> fieldClass, FieldDecorated.Decorator decorator)
Guarded(ComponentAdapter delegate, java.lang.String guard)
HiddenImplementation(ComponentAdapter<T> delegate)
Creates an ImplementationHidingComponentAdapter with a delegateIntercepted(ComponentAdapter delegate)
Locked(ComponentAdapter<T> delegate)
PropertyApplicator(ComponentAdapter<T> delegate)
Construct a PropertyApplicator.Stored(ComponentAdapter<T> delegate, ObjectReference<Stored.Instance<T>> reference)
Synchronized(ComponentAdapter<T> delegate)
ThreadCached(ComponentAdapter<T> delegate)
-
Uses of ComponentAdapter in org.picocontainer.classname
Methods in org.picocontainer.classname that return ComponentAdapter Modifier and Type Method Description ComponentAdapter<?>
DefaultClassLoadingPicoContainer. getComponentAdapter(java.lang.Object componentKey)
Methods in org.picocontainer.classname with parameters of type ComponentAdapter Modifier and Type Method Description MutablePicoContainer
DefaultClassLoadingPicoContainer. addAdapter(ComponentAdapter<?> componentAdapter)
-
Uses of ComponentAdapter in org.picocontainer.containers
Methods in org.picocontainer.containers that return ComponentAdapter Modifier and Type Method Description <T> ComponentAdapter<T>
AbstractDelegatingPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
<T> ComponentAdapter<T>
AbstractDelegatingPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
ComponentAdapter<?>
AbstractDelegatingPicoContainer. getComponentAdapter(java.lang.Object componentKey)
<T> ComponentAdapter<T>
CompositePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
<T> ComponentAdapter<T>
CompositePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding nameBinding)
ComponentAdapter
CompositePicoContainer. getComponentAdapter(java.lang.Object componentKey)
<T> ComponentAdapter<T>
EmptyPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
<T> ComponentAdapter<T>
EmptyPicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
ComponentAdapter<?>
EmptyPicoContainer. getComponentAdapter(java.lang.Object componentKey)
<T> ComponentAdapter<T>
ImmutablePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
<T> ComponentAdapter<T>
ImmutablePicoContainer. getComponentAdapter(java.lang.Class<T> componentType, NameBinding componentNameBinding)
ComponentAdapter<?>
ImmutablePicoContainer. getComponentAdapter(java.lang.Object componentKey)
<T> ComponentAdapter<T>
AbstractDelegatingMutablePicoContainer. removeComponent(java.lang.Object componentKey)
<T> ComponentAdapter<T>
AbstractDelegatingMutablePicoContainer. removeComponentByInstance(T componentInstance)
Methods in org.picocontainer.containers that return types with arguments of type ComponentAdapter Modifier and Type Method Description java.util.Collection<ComponentAdapter<?>>
AbstractDelegatingPicoContainer. getComponentAdapters()
<T> java.util.List<ComponentAdapter<T>>
AbstractDelegatingPicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
<T> java.util.List<ComponentAdapter<T>>
AbstractDelegatingPicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
<T> java.util.List<ComponentAdapter<T>>
CommandLinePicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
java.util.Collection<ComponentAdapter<?>>
CompositePicoContainer. getComponentAdapters()
<T> java.util.List<ComponentAdapter<T>>
CompositePicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
<T> java.util.List<ComponentAdapter<T>>
CompositePicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
java.util.Collection<ComponentAdapter<?>>
EmptyPicoContainer. getComponentAdapters()
<T> java.util.List<ComponentAdapter<T>>
EmptyPicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
<T> java.util.List<ComponentAdapter<T>>
EmptyPicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
java.util.Collection<ComponentAdapter<?>>
ImmutablePicoContainer. getComponentAdapters()
<T> java.util.List<ComponentAdapter<T>>
ImmutablePicoContainer. getComponentAdapters(java.lang.Class<T> componentType)
<T> java.util.List<ComponentAdapter<T>>
ImmutablePicoContainer. getComponentAdapters(java.lang.Class<T> componentType, java.lang.Class<? extends java.lang.annotation.Annotation> binding)
Methods in org.picocontainer.containers with parameters of type ComponentAdapter Modifier and Type Method Description MutablePicoContainer
AbstractDelegatingMutablePicoContainer. addAdapter(ComponentAdapter<?> componentAdapter)
-
Uses of ComponentAdapter in org.picocontainer.injectors
Classes in org.picocontainer.injectors that implement ComponentAdapter Modifier and Type Class Description class
AbstractFieldInjector<T>
class
AbstractInjector<T>
This ComponentAdapter will instantiate a new object for each call togetComponentInstance(PicoContainer, Type)
.class
AnnotatedFieldInjector<T>
Injection happens after instantiation, and through fields marked as injection points via an Annotation.class
AnnotatedMethodInjector
class
CompositeInjector<T>
class
ConstructorInjector<T>
Injection will happen through a constructor for the component.class
FactoryInjector<T>
An Injector which provides an custom instance in a factory styleclass
IterativeInjector<T>
Injection will happen iteratively after component instantiationclass
MethodInjector<T>
Injection will happen through a single method for the component.static class
MethodInjector.ByMethodName
static class
MethodInjector.ByReflectionMethod
class
MultiInjector
class
NamedFieldInjector<T>
Injection happens after instantiation, and fields are marked as injection points via a named field.class
NamedMethodInjector<T>
class
ProviderAdapter
Providers are a type of Injector that can participate in Injection via a custom method.class
SetterInjector<T>
Instantiates components using empty constructors and Setter Injection.class
SingleMemberInjector<T>
Injection will happen in a single member function on the component.class
TypedFieldInjector<T>
Injection happens after instantiation, and fields are marked as injection points via a field type.Methods in org.picocontainer.injectors with type parameters of type ComponentAdapter Modifier and Type Method Description <U extends ComponentAdapter>
UFactoryInjector. findAdapterOfType(java.lang.Class<U> adapterType)
Methods in org.picocontainer.injectors that return ComponentAdapter Modifier and Type Method Description static ComponentAdapter
Injector. annotatedField(java.lang.Object key, java.lang.Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, java.lang.Class<? extends java.lang.annotation.Annotation> injectionAnnotation, boolean useNames)
Convenience method to create annotated field injectorstatic ComponentAdapter
Injector. annotatedMethod(java.lang.Object key, java.lang.Class<?> impl, Parameter[] parameters, ComponentMonitor monitor, java.lang.Class<? extends java.lang.annotation.Annotation> injectionAnnotation, boolean useNames)
convenience method to create annotated method injectorstatic ComponentAdapter
Injector. composite(java.lang.Object componentKey, java.lang.Class<?> componentImplementation, Parameter[] parameters, ComponentMonitor monitor, boolean useNames, Injector... injectors)
creates composite injectorstatic ComponentAdapter
Injector. constructor(java.lang.Object componentKey, java.lang.Class<?> componentImplementation, Parameter... parameters)
Constructor injector that uses no monitor and no lifecycle adapter.static ComponentAdapter
Injector. constructor(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, boolean useNames)
Creates a ConstructorInjectorstatic ComponentAdapter
Injector. constructor(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, boolean useNames, boolean rememberChosenCtor)
Creates a ConstructorInjector<T> ComponentAdapter<T>
AdaptingInjection. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
AnnotatedFieldInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
AnnotatedMethodInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
Create aSetterInjector
.<T> ComponentAdapter<T>
CompositeInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
ConstructorInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties properties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
MethodInjection. createComponentAdapter(ComponentMonitor componentMonitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
MethodInjection.MethodInjectionByName. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
MethodInjection.MethodInjectionByReflectionMethod. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
MultiInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
NamedFieldInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
NamedMethodInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
<T> ComponentAdapter<T>
SetterInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
Create aSetterInjector
.<T> ComponentAdapter<T>
TypedFieldInjection. createComponentAdapter(ComponentMonitor monitor, LifecycleStrategy lifecycleStrategy, java.util.Properties componentProperties, java.lang.Object componentKey, java.lang.Class<T> componentImplementation, Parameter... parameters)
ComponentAdapter
ProviderAdapter. findAdapterOfType(java.lang.Class adapterType)
ComponentAdapter<T>
FactoryInjector. getDelegate()
ComponentAdapter
ProviderAdapter. getDelegate()
ComponentAdapter[]
ConstructorInjector.CtorAndAdapters. getInjecteeAdapters()
static ComponentAdapter
Injector. method(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, java.lang.String methodName, boolean useNames)
convenience method to create method injectorstatic ComponentAdapter
Injector. multi(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters, ComponentMonitor componentMonitor, java.lang.String setterPrefix, boolean useNames)
convenience method to create multi component adapterstatic ComponentAdapter
Injector. namedField(java.lang.Object key, java.lang.Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, java.lang.String fieldNames)
convenience method to create named field injectorstatic ComponentAdapter
Injector. setter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters, ComponentMonitor monitor, java.lang.String prefix, boolean useNames)
convenience method to create setter injectorstatic ComponentAdapter
Injector. typedField(java.lang.Object key, java.lang.Class<?> impl, Parameter[] parameters, ComponentMonitor componentMonitor, java.lang.String classNames)
conveniently create typed field injectorprotected ComponentAdapter
AbstractInjectionFactory. wrapLifeCycle(Injector injector, LifecycleStrategy lifecycleStrategy)
Methods in org.picocontainer.injectors with parameters of type ComponentAdapter Modifier and Type Method Description protected java.lang.Object
SingleMemberInjector. getParameter(PicoContainer container, java.lang.reflect.AccessibleObject member, int i, java.lang.reflect.Type parameterType, java.lang.annotation.Annotation binding, Parameter currentParameter, ComponentAdapter<?> injecteeAdapter)
boolean
ProviderAdapter. isLazy(ComponentAdapter<?> adapter)
Constructors in org.picocontainer.injectors with parameters of type ComponentAdapter Constructor Description CtorAndAdapters(java.lang.reflect.Constructor<TYPE> ctor, Parameter[] parameters, ComponentAdapter[] injecteeAdapters)
-
Uses of ComponentAdapter in org.picocontainer.lifecycle
Methods in org.picocontainer.lifecycle with parameters of type ComponentAdapter Modifier and Type Method Description boolean
AbstractMonitoringLifecycleStrategy. isLazy(ComponentAdapter<?> adapter)
boolean
CompositeLifecycleStrategy. isLazy(ComponentAdapter<?> adapter)
boolean
NullLifecycleStrategy. isLazy(ComponentAdapter<?> adapter)
-
Uses of ComponentAdapter in org.picocontainer.monitors
Methods in org.picocontainer.monitors with parameters of type ComponentAdapter Modifier and Type Method Description <T> void
AbstractComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> void
ConsoleComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] parameters, long duration)
<T> void
LifecycleComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] parameters, long duration)
<T> void
NullComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> void
WriterComponentMonitor. instantiated(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Object instantiated, java.lang.Object[] injected, long duration)
<T> java.lang.reflect.Constructor<T>
AbstractComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
ConsoleComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
LifecycleComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
NullComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> java.lang.reflect.Constructor<T>
WriterComponentMonitor. instantiating(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor)
<T> void
AbstractComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception e)
<T> void
ConsoleComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
<T> void
LifecycleComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
<T> void
NullComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception e)
<T> void
WriterComponentMonitor. instantiationFailed(PicoContainer container, ComponentAdapter<T> componentAdapter, java.lang.reflect.Constructor<T> constructor, java.lang.Exception cause)
void
AbstractComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
ConsoleComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
LifecycleComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
NullComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
void
WriterComponentMonitor. invoked(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, long duration, java.lang.Object[] args, java.lang.Object retVal)
java.lang.Object
AbstractComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
ConsoleComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
LifecycleComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
NullComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
java.lang.Object
WriterComponentMonitor. invoking(PicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Member member, java.lang.Object instance, java.lang.Object[] args)
void
AbstractComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
void
ConsoleComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
void
LifecycleComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
void
NullComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
void
WriterComponentMonitor. lifecycleInvocationFailed(MutablePicoContainer container, ComponentAdapter<?> componentAdapter, java.lang.reflect.Method method, java.lang.Object instance, java.lang.RuntimeException cause)
-
Uses of ComponentAdapter in org.picocontainer.parameters
Methods in org.picocontainer.parameters that return ComponentAdapter Modifier and Type Method Description static ComponentAdapter<?>
BasicComponentParameter. findInjectorOrInstanceAdapter(ComponentAdapter<?> f)
protected <T> ComponentAdapter<T>
BasicComponentParameter. resolveAdapter(PicoContainer container, ComponentAdapter adapter, java.lang.Class<T> expectedType, NameBinding expectedNameBinding, boolean useNames, java.lang.annotation.Annotation binding)
Methods in org.picocontainer.parameters that return types with arguments of type ComponentAdapter Modifier and Type Method Description protected java.util.Map<java.lang.Object,ComponentAdapter<?>>
CollectionComponentParameter. getMatchingComponentAdapters(PicoContainer container, ComponentAdapter adapter, java.lang.Class keyType, java.lang.Class valueType)
Collect the matching ComponentAdapter instances.Methods in org.picocontainer.parameters with parameters of type ComponentAdapter Modifier and Type Method Description protected boolean
CollectionComponentParameter. evaluate(ComponentAdapter adapter)
Evaluate whether the given component adapter will be part of the collective type.static ComponentAdapter<?>
BasicComponentParameter. findInjectorOrInstanceAdapter(ComponentAdapter<?> f)
protected java.util.Map<java.lang.Object,ComponentAdapter<?>>
CollectionComponentParameter. getMatchingComponentAdapters(PicoContainer container, ComponentAdapter adapter, java.lang.Class keyType, java.lang.Class valueType)
Collect the matching ComponentAdapter instances.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 containerMethod parameters in org.picocontainer.parameters with type arguments of type ComponentAdapter Modifier and Type Method Description static <T> java.lang.String[]
BasicComponentParameter. makeFoundAmbiguousStrings(java.util.Collection<ComponentAdapter<T>> found)
-
Uses of ComponentAdapter in org.picocontainer.visitors
Methods in org.picocontainer.visitors with parameters of type ComponentAdapter Modifier and Type Method Description void
TraversalCheckingVisitor. visitComponentAdapter(ComponentAdapter<?> componentAdapter)
Visit aComponentAdapter
that has to accept the visitor.void
VerifyingVisitor. visitComponentAdapter(ComponentAdapter<?> componentAdapter)
-