org.exoplatform.container.management
Class ManageableComponentAdapter<T>
java.lang.Object
org.exoplatform.container.AbstractComponentAdapter<T>
org.exoplatform.container.jmx.MX4JComponentAdapter<T>
org.exoplatform.container.management.ManageableComponentAdapter<T>
- All Implemented Interfaces:
- Serializable, ComponentAdapter<T>
public class ManageableComponentAdapter<T>
- extends MX4JComponentAdapter<T>
- Version:
- $Revision$
- Author:
- Julien Viet
- See Also:
- Serialized Form
ManageableComponentAdapter
public ManageableComponentAdapter(ExoContainer holder,
ConcurrentContainer container,
Object key,
Class<T> implementation)
getComponentInstance
public T getComponentInstance()
throws ContainerException
- Description copied from interface:
ComponentAdapter
- Retrieve the component instance. This method will usually create a new instance each time it is called, but that
is not required.
- Specified by:
getComponentInstance in interface ComponentAdapter<T>- Overrides:
getComponentInstance in class MX4JComponentAdapter<T>
- Returns:
- the component instance.
- Throws:
ContainerException - if the component could not be instantiated. Or if the component has dependencies which could not be resolved, or
instantiation of the component lead to an ambiguous situation within the container.
register
protected void register(Container co,
Object instance)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.