|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ComponentAdapter | |
---|---|
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. |
Uses of ComponentAdapter in org.picocontainer |
---|
Methods in org.picocontainer that return ComponentAdapter | |
---|---|
ComponentAdapter |
PicoContainer.getComponentAdapter(java.lang.Object componentKey)
Find a component adapter associated with the specified key. |
ComponentAdapter |
PicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
Find a component adapter associated with the specified type. |
ComponentAdapter |
MutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
Register a component via a ComponentAdapter. |
ComponentAdapter |
MutablePicoContainer.registerComponentImplementation(java.lang.Class componentImplementation)
Register a component using the componentImplementation as key. |
ComponentAdapter |
MutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation)
Register a component. |
ComponentAdapter |
MutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Register a component and creates specific instructions on which constructor to use, along with which components and/or constants to provide as constructor arguments. |
ComponentAdapter |
MutablePicoContainer.registerComponentInstance(java.lang.Object componentInstance)
Register an arbitrary object. |
ComponentAdapter |
MutablePicoContainer.registerComponentInstance(java.lang.Object componentKey,
java.lang.Object componentInstance)
Register an arbitrary object as a component in the container. |
ComponentAdapter |
MutablePicoContainer.unregisterComponent(java.lang.Object componentKey)
Unregister a component by key. |
ComponentAdapter |
MutablePicoContainer.unregisterComponentByInstance(java.lang.Object componentInstance)
Unregister a component by instance. |
Methods in org.picocontainer with parameters of type ComponentAdapter | |
---|---|
boolean |
Parameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check if the Parameter can statisfy the expected type using the container. |
ComponentAdapter |
MutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
Register a component via a ComponentAdapter. |
java.lang.Object |
Parameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Retrieve the object from the Parameter that statisfies the expected type. |
void |
Parameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify that the Parameter can statisfied the expected type using the container |
void |
PicoVisitor.visitComponentAdapter(ComponentAdapter componentAdapter)
Visit a ComponentAdapter that has to accept the visitor. |
Uses of ComponentAdapter in org.picocontainer.alternatives |
---|
Methods in org.picocontainer.alternatives that return ComponentAdapter | |
---|---|
ComponentAdapter |
EmptyPicoContainer.getComponentAdapter(java.lang.Object componentKey)
|
ComponentAdapter |
ImmutablePicoContainer.getComponentAdapter(java.lang.Object componentKey)
Deprecated. |
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.getComponentAdapter(java.lang.Object componentKey)
|
ComponentAdapter |
EmptyPicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
|
ComponentAdapter |
ImmutablePicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
Deprecated. |
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponentImplementation(java.lang.Class componentImplementation)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponentInstance(java.lang.Object componentInstance)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponentInstance(java.lang.Object componentKey,
java.lang.Object componentInstance)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.unregisterComponent(java.lang.Object componentKey)
|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.unregisterComponentByInstance(java.lang.Object componentInstance)
|
Methods in org.picocontainer.alternatives with parameters of type ComponentAdapter | |
---|---|
ComponentAdapter |
AbstractDelegatingMutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
|
Constructors in org.picocontainer.alternatives with parameters of type ComponentAdapter | |
---|---|
ImplementationHidingComponentAdapter(ComponentAdapter delegate,
boolean strict)
Deprecated. since 1.2, moved to package org.picocontainer.defaults |
Uses of ComponentAdapter in org.picocontainer.defaults |
---|
Classes in org.picocontainer.defaults that implement ComponentAdapter | |
---|---|
class |
AbstractComponentAdapter
Base class for a ComponentAdapter with general functionality. |
class |
BeanPropertyComponentAdapter
Decorating component adapter that can be used to set additional properties on a component in a bean style. |
class |
CachingComponentAdapter
ComponentAdapter implementation that caches the component instance. |
class |
ConstructorInjectionComponentAdapter
Instantiates components using Constructor Injection. |
class |
DecoratingComponentAdapter
Component adapter which decorates another adapter. |
class |
ImplementationHidingComponentAdapter
This component adapter makes it possible to hide the implementation of a real subject (behind a proxy) provided the key is an interface. |
class |
InstanceComponentAdapter
Component adapter which wraps a component instance. |
class |
InstantiatingComponentAdapter
This ComponentAdapter will instantiate a new object for each call to getComponentInstance(PicoContainer) . |
class |
MonitoringComponentAdapter
Abstract ComponentAdapter supporting a
ComponentMonitorStrategy . |
class |
SetterInjectionComponentAdapter
Instantiates components using empty constructors and Setter Injection. |
class |
SynchronizedComponentAdapter
|
Fields in org.picocontainer.defaults declared as ComponentAdapter | |
---|---|
private ComponentAdapter |
DecoratingComponentAdapter.delegate
|
private ComponentAdapter |
UnsatisfiableDependenciesException.instantiatingComponentAdapter
|
Methods in org.picocontainer.defaults that return ComponentAdapter | |
---|---|
ComponentAdapter |
DefaultComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
DecoratingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
BeanPropertyComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a new component adapter based on the specified arguments. |
ComponentAdapter |
CachingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
SynchronizedComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
SetterInjectionComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a SetterInjectionComponentAdapter . |
ComponentAdapter |
ConstructorInjectionComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
ComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Create a new component adapter based on the specified arguments. |
ComponentAdapter |
ImplementationHidingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
|
ComponentAdapter |
DefaultPicoContainer.getComponentAdapter(java.lang.Object componentKey)
|
ComponentAdapter |
DefaultPicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
|
ComponentAdapter |
DecoratingComponentAdapter.getDelegate()
|
private ComponentAdapter |
BasicComponentParameter.getTargetAdapter(PicoContainer container,
java.lang.Class expectedType,
ComponentAdapter excludeAdapter)
|
ComponentAdapter |
UnsatisfiableDependenciesException.getUnsatisfiableComponentAdapter()
|
ComponentAdapter |
DefaultPicoContainer.registerComponent(ComponentAdapter componentAdapter)
Register a component via a ComponentAdapter. |
ComponentAdapter |
DefaultPicoContainer.registerComponentImplementation(java.lang.Class componentImplementation)
Register a component using the componentImplementation as key. |
ComponentAdapter |
DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation)
Register a component. |
ComponentAdapter |
DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation,
java.util.List parameters)
Same as DefaultPicoContainer.registerComponentImplementation(java.lang.Object, java.lang.Class, org.picocontainer.Parameter[])
but with parameters as a List . |
ComponentAdapter |
DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey,
java.lang.Class componentImplementation,
Parameter[] parameters)
Register a component and creates specific instructions on which constructor to use, along with which components and/or constants to provide as constructor arguments. |
ComponentAdapter |
DefaultPicoContainer.registerComponentInstance(java.lang.Object component)
Register an arbitrary object. |
ComponentAdapter |
DefaultPicoContainer.registerComponentInstance(java.lang.Object componentKey,
java.lang.Object componentInstance)
Register an arbitrary object as a component in the container. |
private ComponentAdapter |
BasicComponentParameter.resolveAdapter(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
ComponentAdapter |
DefaultPicoContainer.unregisterComponent(java.lang.Object componentKey)
|
ComponentAdapter |
DefaultPicoContainer.unregisterComponentByInstance(java.lang.Object componentInstance)
|
Methods in org.picocontainer.defaults with parameters of type ComponentAdapter | |
---|---|
private void |
DefaultPicoContainer.addOrderedComponentAdapter(ComponentAdapter componentAdapter)
|
protected boolean |
CollectionComponentParameter.evaluate(ComponentAdapter adapter)
Evaluate whether the given component adapter will be part of the collective type. |
private java.lang.Object |
DefaultPicoContainer.getInstance(ComponentAdapter componentAdapter)
|
protected java.util.Map |
CollectionComponentParameter.getMatchingComponentAdapters(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class keyType,
java.lang.Class valueType)
Collect the matching ComponentAdapter instances. |
private ComponentAdapter |
BasicComponentParameter.getTargetAdapter(PicoContainer container,
java.lang.Class expectedType,
ComponentAdapter excludeAdapter)
|
boolean |
BasicComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check wether the given Parameter can be statisfied by the container. |
boolean |
ConstantParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
boolean |
ComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
boolean |
CollectionComponentParameter.isResolvable(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Check for a successful dependency resolution of the parameter for the expected type. |
ComponentAdapter |
DefaultPicoContainer.registerComponent(ComponentAdapter componentAdapter)
Register a component via a ComponentAdapter. |
private ComponentAdapter |
BasicComponentParameter.resolveAdapter(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
BasicComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
ConstantParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
ComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
java.lang.Object |
CollectionComponentParameter.resolveInstance(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Resolve the parameter for the expected type. |
void |
BasicComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
void |
ConstantParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify that the Parameter can statisfied the expected type using the container |
void |
ComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
|
void |
CollectionComponentParameter.verify(PicoContainer container,
ComponentAdapter adapter,
java.lang.Class expectedType)
Verify a successful dependency resolution of the parameter for the expected type. |
void |
VerifyingVisitor.visitComponentAdapter(ComponentAdapter componentAdapter)
|
void |
VerifyingVisitor.ComponentAdapterCollector.visitComponentAdapter(ComponentAdapter componentAdapter)
|
void |
TraversalCheckingVisitor.visitComponentAdapter(ComponentAdapter componentAdapter)
|
Constructors in org.picocontainer.defaults with parameters of type ComponentAdapter | |
---|---|
BeanPropertyComponentAdapter(ComponentAdapter delegate)
Construct a BeanPropertyComponentAdapter. |
|
CachingComponentAdapter(ComponentAdapter delegate)
|
|
CachingComponentAdapter(ComponentAdapter delegate,
ObjectReference instanceReference)
|
|
DecoratingComponentAdapter(ComponentAdapter delegate)
|
|
ImplementationHidingComponentAdapter(ComponentAdapter delegate,
boolean strict)
Creates an ImplementationHidingComponentAdapter with a delegate |
|
SynchronizedComponentAdapter(ComponentAdapter delegate)
|
|
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
java.lang.Class unsatisfiedDependencyType,
java.util.Set unsatisfiableDependencies,
PicoContainer leafContainer)
|
|
UnsatisfiableDependenciesException(ComponentAdapter instantiatingComponentAdapter,
java.util.Set unsatisfiableDependencies,
PicoContainer leafContainer)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |