org.picocontainer.defaults
Class ThreadLocalComponentAdapterFactory
java.lang.Object
org.picocontainer.defaults.DecoratingComponentAdapterFactory
org.picocontainer.defaults.ThreadLocalComponentAdapterFactory
- All Implemented Interfaces:
- ComponentAdapterFactory
- public class ThreadLocalComponentAdapterFactory
- extends DecoratingComponentAdapterFactory
A {link@ ComponentAdapterFactory} for ThreadLocalComponentAdapter
s.
- Author:
- Jörg Schaible
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalComponentAdapterFactory
public ThreadLocalComponentAdapterFactory(ComponentAdapterFactory delegate)
- Constructs a wrapping
ComponentAdapterFactory
.
- Parameters:
delegate
- The delegated ComponentAdapterFactory.
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.