org.exoplatform.container.management
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManageableComponentAdapterFactory
public ManageableComponentAdapterFactory(ExoContainer holder,
ConcurrentContainer container)
createComponentAdapter
public <T> ComponentAdapter<T> createComponentAdapter(Object componentKey,
Class<T> componentImplementation)
throws ContainerException
- Description copied from interface:
ComponentAdapterFactory
- Create a new component adapter based on the specified arguments.
- Specified by:
createComponentAdapter in interface ComponentAdapterFactory
- Parameters:
componentKey - the key to be associated with this adapter. This value should be returned
from a call to ComponentAdapter.getComponentKey() on the created adapter.componentImplementation - the implementation class to be associated with this adapter.
This value should be returned from a call to
ComponentAdapter.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 a
ContainerException.
Copyright © 2014 eXo Platform SAS. All Rights Reserved.