public class ManageableComponentAdapterFactory extends Object implements ComponentAdapterFactory
| Constructor and Description |
|---|
ManageableComponentAdapterFactory(ExoContainer holder,
ConcurrentContainer container) |
| Modifier and Type | Method and Description |
|---|---|
<T> ComponentAdapter<T> |
createComponentAdapter(Object componentKey,
Class<T> componentImplementation)
Create a new component adapter based on the specified arguments.
|
public ManageableComponentAdapterFactory(ExoContainer holder, ConcurrentContainer container)
public <T> ComponentAdapter<T> createComponentAdapter(Object componentKey, Class<T> componentImplementation) throws ContainerException
ComponentAdapterFactorycreateComponentAdapter in interface ComponentAdapterFactorycomponentKey - 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.ContainerException - if the creation of the component adapter results in a
ContainerException.Copyright © 2019 eXo Platform SAS. All Rights Reserved.