org.picocontainer.extras
Class ImplementationHidingComponentAdapterFactory.Adapter

java.lang.Object
  extended byorg.picocontainer.extras.DecoratingComponentAdapter
      extended byorg.picocontainer.extras.ImplementationHidingComponentAdapterFactory.Adapter
All Implemented Interfaces:
ComponentAdapter
Enclosing class:
ImplementationHidingComponentAdapterFactory

public class ImplementationHidingComponentAdapterFactory.Adapter
extends DecoratingComponentAdapter


Constructor Summary
ImplementationHidingComponentAdapterFactory.Adapter(ComponentAdapter delegate)
           
 
Method Summary
 Object getComponentInstance(MutablePicoContainer picoContainer)
          Gets the component instance.
 
Methods inherited from class org.picocontainer.extras.DecoratingComponentAdapter
getComponentImplementation, getComponentKey, getDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImplementationHidingComponentAdapterFactory.Adapter

public ImplementationHidingComponentAdapterFactory.Adapter(ComponentAdapter delegate)
Method Detail

getComponentInstance

public Object getComponentInstance(MutablePicoContainer picoContainer)
                            throws PicoInitializationException,
                                   PicoIntrospectionException,
                                   AssignabilityRegistrationException,
                                   NotConcreteRegistrationException
Description copied from interface: ComponentAdapter
Gets the component instance. Subsequent calls to this method with the same arguments should return the same object (it should be caching).

This method should also register the instantiated component with the pico container.

Specified by:
getComponentInstance in interface ComponentAdapter
Overrides:
getComponentInstance in class DecoratingComponentAdapter
Throws:
PicoInitializationException
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException


Copyright © 2003 Codehaus. All Rights Reserved.