Uses of Interface
org.picocontainer.ComponentAdapter

Packages that use ComponentAdapter
org.picocontainer This package is the basic API for PicoContainer. 
org.picocontainer.defaults This package contains a default implementation of the PicoContainer API. 
 

Uses of ComponentAdapter in org.picocontainer
 

Methods in org.picocontainer that return ComponentAdapter
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey, java.lang.Class componentImplementation)
          Registers a component.
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
          Registers a component.
 ComponentAdapter MutablePicoContainer.registerComponentImplementation(java.lang.Class componentImplementation)
          Registers a component using the componentImplementation as key.
 ComponentAdapter MutablePicoContainer.registerComponentInstance(java.lang.Object componentInstance)
          Registers an arbitrary object, using its class as a key.
 ComponentAdapter MutablePicoContainer.registerComponentInstance(java.lang.Object componentKey, java.lang.Object componentInstance)
          Registers an arbitrary object as a compoent in the container.
 ComponentAdapter MutablePicoContainer.unregisterComponent(java.lang.Object componentKey)
          Unregisters a component by key.
 ComponentAdapter MutablePicoContainer.unregisterComponentByInstance(java.lang.Object componentInstance)
          Unregisters a component by instance.
 ComponentAdapter Parameter.resolveAdapter(PicoContainer picoContainer, java.lang.Class expectedType)
           
 ComponentAdapter PicoContainer.getComponentAdapter(java.lang.Object componentKey)
          Finds a ComponentAdapter matching the key, looking in parent if not found in self (unless parent is null).
 ComponentAdapter PicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
          Finds a ComponentAdapter matching the type, looking in parent if not found in self (unless parent is null).
 

Methods in org.picocontainer with parameters of type ComponentAdapter
 void MutablePicoContainer.registerComponent(ComponentAdapter componentAdapter)
          Registers a component via a ComponentAdapter.
 void PicoContainer.addOrderedComponentAdapter(ComponentAdapter componentAdapter)
          Callback method from the implementation to keep track of the instantiation order.
 

Uses of ComponentAdapter in org.picocontainer.defaults
 

Classes in org.picocontainer.defaults that implement ComponentAdapter
 class AbstractComponentAdapter
           
 class BeanComponentAdapter
          {@inheritDoc} Instantiates components using Setter Injection.
 class BeanPropertyComponentAdapterFactory.Adapter
           
 class CachingComponentAdapter
          This ComponentAdapter caches the instance.
 class ConstructorComponentAdapter
          Instantiates components using Constructor-Based Dependency Injection.
 class DecoratingComponentAdapter
           
 class ImplementationHidingComponentAdapter
          This component adapter makes it possible to hide the implementation of a real subject (behind a proxy).
 class InstanceComponentAdapter
           
 class InstantiatingComponentAdapter
          This ComponentAdapter will instantiate a new object for each call to getComponentInstance().
 class SynchronizedComponentAdapter
           
 

Methods in org.picocontainer.defaults that return ComponentAdapter
 ComponentAdapter BeanPropertyComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter CachingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter ComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter ComponentParameter.resolveAdapter(PicoContainer picoContainer, java.lang.Class expectedType)
           
 ComponentAdapter ConstantParameter.resolveAdapter(PicoContainer picoContainer, java.lang.Class expectedType)
           
 ComponentAdapter ConstructorComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter DecoratingComponentAdapter.getDelegate()
           
 ComponentAdapter DecoratingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter DefaultComponentAdapterFactory.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 DefaultPicoContainer.unregisterComponent(java.lang.Object componentKey)
           
 ComponentAdapter DefaultPicoContainer.registerComponentInstance(java.lang.Object component)
          Registers an arbitrary object, using its class as a key. The returned ComponentAdapter will be an InstanceComponentAdapter.
 ComponentAdapter DefaultPicoContainer.registerComponentInstance(java.lang.Object componentKey, java.lang.Object componentInstance)
          Registers an arbitrary object as a compoent in the container. This is handy when other components in the same container have dependencies on this kind of object, but where letting the container manage and instantiate it is impossible. Beware that too much use of this method is an antipattern. The returned ComponentAdapter will be an InstanceComponentAdapter.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(java.lang.Class componentImplementation)
          Registers a component using the componentImplementation as key. The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey, java.lang.Class componentImplementation)
          Registers a component. The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
          Registers a component. The returned ComponentAdapter will be instantiated by the ComponentAdapterFactory passed to the container's constructor.
 ComponentAdapter DefaultPicoContainer.registerComponentImplementation(java.lang.Object componentKey, java.lang.Class componentImplementation, java.util.List parameters)
           
 ComponentAdapter DefaultPicoContainer.unregisterComponentByInstance(java.lang.Object componentInstance)
           
 ComponentAdapter ImplementationHidingComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 ComponentAdapter NullPicoContainer.getComponentAdapter(java.lang.Object componentKey)
           
 ComponentAdapter NullPicoContainer.getComponentAdapterOfType(java.lang.Class componentType)
           
 ComponentAdapter SynchronizedComponentAdapterFactory.createComponentAdapter(java.lang.Object componentKey, java.lang.Class componentImplementation, Parameter[] parameters)
           
 

Methods in org.picocontainer.defaults with parameters of type ComponentAdapter
protected  java.lang.Object BeanComponentAdapter.instantiateComponent(ComponentAdapter[] adapterDependencies, PicoContainer dependencyContainer)
           
protected  java.lang.Object[] BeanComponentAdapter.getConstructorArguments(ComponentAdapter[] adapterDependencies)
           
protected  java.lang.Object[] ConstructorComponentAdapter.getConstructorArguments(ComponentAdapter[] adapterDependencies)
           
 void DefaultPicoContainer.registerComponent(ComponentAdapter componentAdapter)
          Registers a component via a ComponentAdapter. Use this if you need fine grained control over what ComponentAdapter to use for a specific component. This method can be used to override the ComponentAdapter created by the ComponentAdapterFactory passed to the constructor of this container.
 void DefaultPicoContainer.addOrderedComponentAdapter(ComponentAdapter componentAdapter)
           
protected  java.lang.Object InstantiatingComponentAdapter.instantiateComponent(ComponentAdapter[] adapterDependencies, PicoContainer dependencyContainer)
           
protected abstract  java.lang.Object[] InstantiatingComponentAdapter.getConstructorArguments(ComponentAdapter[] adapterDependencies)
           
 void NullPicoContainer.addOrderedComponentAdapter(ComponentAdapter componentAdapter)
           
 

Constructors in org.picocontainer.defaults with parameters of type ComponentAdapter
BeanPropertyComponentAdapterFactory.Adapter(ComponentAdapter delegate, java.util.Map propertyValues)
           
CachingComponentAdapter(ComponentAdapter delegate)
           
CachingComponentAdapter(ComponentAdapter delegate, ObjectReference instanceReference)
           
DecoratingComponentAdapter(ComponentAdapter delegate)
           
ImplementationHidingComponentAdapter(ComponentAdapter delegate, boolean strict)
          Alternative constructor allowing to set interface-only strictness.
ImplementationHidingComponentAdapter(ComponentAdapter delegate)
          Creates a strict ImplementationHidingComponentAdapter that will throw an exception when trying to instantiate a class that doesn't implement any interfaces.
SynchronizedComponentAdapter(ComponentAdapter delegate)
           
 



Copyright © 2003-2004 Codehaus. All Rights Reserved.