org.picocontainer.extras
Class InvokingComponentAdapterFactory.Adapter

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

public class InvokingComponentAdapterFactory.Adapter
extends DecoratingComponentAdapter

See Also:
Serialized Form

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

Constructor Detail

InvokingComponentAdapterFactory.Adapter

public InvokingComponentAdapterFactory.Adapter(ComponentAdapter delegate)
Method Detail

getInvocationResult

public Object getInvocationResult()

getComponentInstance

public Object getComponentInstance()
                            throws PicoInitializationException,
                                   PicoIntrospectionException,
                                   AssignabilityRegistrationException,
                                   NotConcreteRegistrationException
Description copied from interface: ComponentAdapter
Gets the component instance. This method will usually create a new instance for each call (an exception is CachingComponentAdapter).

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


Copyright © 2003-2004 Codehaus. All Rights Reserved.