org.picocontainer.extras
Class InvokingComponentAdapterFactory
java.lang.Object
org.picocontainer.extras.DecoratingComponentAdapterFactory
org.picocontainer.extras.InvokingComponentAdapterFactory
- All Implemented Interfaces:
- ComponentAdapterFactory
Deprecated. Use the lifcycle support in PicoContainer instead.
- public class InvokingComponentAdapterFactory
- extends DecoratingComponentAdapterFactory
A generic ComponentAdapter that will invoke a particular method
on the component after it has been instantiated. This can be useful
for implementing simple lifecycle support without the components
having to implement any interfaces.
- Version:
- $Revision: 1.7 $
- Author:
- Aslak Hellesøy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvokingComponentAdapterFactory
public InvokingComponentAdapterFactory(ComponentAdapterFactory delegate,
String methodName,
Class[] parameterTypes,
Object[] arguments)
- Deprecated.
createComponentAdapter
public ComponentAdapter createComponentAdapter(Object componentKey,
Class componentImplementation,
Parameter[] parameters)
throws PicoIntrospectionException,
AssignabilityRegistrationException,
NotConcreteRegistrationException
- Deprecated.
- Specified by:
createComponentAdapter
in interface ComponentAdapterFactory
- Overrides:
createComponentAdapter
in class DecoratingComponentAdapterFactory
- Throws:
PicoIntrospectionException
AssignabilityRegistrationException
NotConcreteRegistrationException
Copyright © 2003-2004 Codehaus. All Rights Reserved.