org.picocontainer.defaults
Class ThreadLocalComponentAdapterFactory

java.lang.Object
  extended byorg.picocontainer.defaults.DecoratingComponentAdapterFactory
      extended byorg.picocontainer.defaults.ThreadLocalComponentAdapterFactory
All Implemented Interfaces:
ComponentAdapterFactory

public class ThreadLocalComponentAdapterFactory
extends DecoratingComponentAdapterFactory

A {link@ ComponentAdapterFactory} for ThreadLocalComponentAdapters.

Author:
Jörg Schaible

Constructor Summary
ThreadLocalComponentAdapterFactory(ComponentAdapterFactory delegate)
          Constructs a wrapping ComponentAdapterFactory.
 
Method Summary
 ComponentAdapter createComponentAdapter(Object componentKey, Class componentImplementation, Parameter[] parameters)
          Create a new component adapter based on the specified arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLocalComponentAdapterFactory

public ThreadLocalComponentAdapterFactory(ComponentAdapterFactory delegate)
Constructs a wrapping ComponentAdapterFactory.

Parameters:
delegate - The delegated ComponentAdapterFactory.
Method Detail

createComponentAdapter

public ComponentAdapter createComponentAdapter(Object componentKey,
                                               Class componentImplementation,
                                               Parameter[] parameters)
                                        throws PicoIntrospectionException,
                                               AssignabilityRegistrationException,
                                               NotConcreteRegistrationException
Description copied from interface: ComponentAdapterFactory
Create a new component adapter based on the specified arguments.

Specified by:
createComponentAdapter in interface ComponentAdapterFactory
Overrides:
createComponentAdapter in class DecoratingComponentAdapterFactory
Throws:
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException
See Also:
ComponentAdapterFactory.createComponentAdapter(java.lang.Object, java.lang.Class, org.picocontainer.Parameter[])


Copyright © 2003-2004 Codehaus. All Rights Reserved.