org.exoplatform.container.weld
Class WeldContainer
java.lang.Object
org.exoplatform.container.AbstractContainer
org.exoplatform.container.AbstractInterceptor
org.exoplatform.container.weld.WeldContainer
- All Implemented Interfaces:
- Serializable, Container, Interceptor, Disposable, Startable
public class WeldContainer
- extends AbstractInterceptor
The implementation of an Interceptor allowing eXo Kernel to interact with a weld container
- Version:
- $Id$
- Author:
- Nicolas Filotto
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
WeldContainer.WeldExtension
We switch to a public static class to allow weld to create a proxy the class |
| Methods inherited from class org.exoplatform.container.AbstractContainer |
accept, createComponent, dispose, getComponentAdapters, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, unregisterComponent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.exoplatform.container.spi.Container |
accept, createComponent, getComponentAdapters, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, registerComponentImplementation, registerComponentInstance, unregisterComponent |
WeldContainer
public WeldContainer()
getComponentInstance
public <T> T getComponentInstance(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
-
- Specified by:
getComponentInstance in interface Container- Overrides:
getComponentInstance in class AbstractContainer
getComponentInstanceOfType
public <T> T getComponentInstanceOfType(Class<T> componentType,
boolean autoRegistration)
-
- Specified by:
getComponentInstanceOfType in interface Container- Overrides:
getComponentInstanceOfType in class AbstractContainer
getComponentAdapter
public <T> ComponentAdapter<T> getComponentAdapter(Object componentKey,
Class<T> bindType,
boolean autoRegistration)
-
- Specified by:
getComponentAdapter in interface Container- Overrides:
getComponentAdapter in class AbstractContainer
getComponentAdapterOfType
public <T> ComponentAdapter<T> getComponentAdapterOfType(Class<T> componentType,
boolean autoRegistration)
-
- Specified by:
getComponentAdapterOfType in interface Container- Overrides:
getComponentAdapterOfType in class AbstractContainer
getComponentAdaptersOfType
public <T> List<ComponentAdapter<T>> getComponentAdaptersOfType(Class<T> componentType)
-
- Specified by:
getComponentAdaptersOfType in interface Container- Overrides:
getComponentAdaptersOfType in class AbstractContainer
getComponentInstancesOfType
public <T> List<T> getComponentInstancesOfType(Class<T> componentType)
throws ContainerException
-
- Specified by:
getComponentInstancesOfType in interface Container- Overrides:
getComponentInstancesOfType in class AbstractContainer
- Throws:
ContainerException
start
public void start()
-
- Specified by:
start in interface Startable- Overrides:
start in class AbstractContainer
stop
public void stop()
-
- Specified by:
stop in interface Startable- Overrides:
stop in class AbstractContainer
getId
public String getId()
-
- Specified by:
getId in interface Interceptor- Overrides:
getId in class AbstractInterceptor
Copyright © 2014 eXo Platform SAS. All Rights Reserved.