Class ManageableComponentAdapterFactory
- java.lang.Object
-
- org.exoplatform.container.management.ManageableComponentAdapterFactory
-
- All Implemented Interfaces:
ComponentAdapterFactory
public class ManageableComponentAdapterFactory extends Object implements ComponentAdapterFactory
- Version:
- $Revision$
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description ManageableComponentAdapterFactory(ExoContainer holder, ConcurrentContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ComponentAdapter<T>createComponentAdapter(Object componentKey, Class<T> componentImplementation)Create a new component adapter based on the specified arguments.
-
-
-
Constructor Detail
-
ManageableComponentAdapterFactory
public ManageableComponentAdapterFactory(ExoContainer holder, ConcurrentContainer container)
-
-
Method Detail
-
createComponentAdapter
public <T> ComponentAdapter<T> createComponentAdapter(Object componentKey, Class<T> componentImplementation) throws ContainerException
Description copied from interface:ComponentAdapterFactoryCreate a new component adapter based on the specified arguments.- Specified by:
createComponentAdapterin interfaceComponentAdapterFactory- Parameters:
componentKey- the key to be associated with this adapter. This value should be returned from a call toComponentAdapter.getComponentKey()on the created adapter.componentImplementation- the implementation class to be associated with this adapter. This value should be returned from a call toComponentAdapter.getComponentImplementation()on the created adapter. Should not be null.- Returns:
- a new component adapter based on the specified arguments. Should not return null.
- Throws:
ContainerException- if the creation of the component adapter results in aContainerException.
-
-