| Package | Description |
|---|---|
| org.exoplatform.container |
This package provides container API.
|
| org.exoplatform.container.component | |
| org.exoplatform.container.context |
This package contains all the classes that are related to the Scope Management
|
| org.exoplatform.container.jmx | |
| org.exoplatform.container.management | |
| org.exoplatform.container.monitor.jvm | |
| org.exoplatform.container.spi |
This package defines most important classes and interfaces, that should be used in case
you would like to implement a new
Container. |
| org.exoplatform.container.util | |
| org.exoplatform.container.web |
| Modifier and Type | Class and Description |
|---|---|
class |
PortalContainer
Created by The eXo Platform SAS
The Portal Container is an object responsible for loading services/components. |
class |
RootContainer
Created by The eXo Platform SAS
A base container which plays an important role during the startup. |
class |
StandaloneContainer
Created by The eXo Platform SAS
Singleton, context independent Exo Container with one configuration entry point. |
| Modifier and Type | Field and Description |
|---|---|
protected ExoContainer |
AbstractInterceptor.holder
The holder of the
Interceptor chain |
protected ExoContainer |
ExoContainer.parent |
protected ExoContainer |
AbstractInterceptor.parent
The parent container
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<ExoContainer> |
ConcurrentContainer.children |
| Modifier and Type | Method and Description |
|---|---|
ExoContainer |
ExoContainerContext.getContainer() |
static ExoContainer |
ExoContainerContext.getContainerByName(String name) |
static ExoContainer |
ExoContainerContext.getCurrentContainer() |
static ExoContainer |
ExoContainerContext.getCurrentContainerIfPresent() |
ExoContainer |
ConcurrentContainer.getHolder() |
ExoContainer |
ExoContainer.getParent()
Gives the parent container of this container.
|
static ExoContainer |
ExoContainerContext.getTopContainer() |
| Modifier and Type | Method and Description |
|---|---|
void |
ContainerLifecyclePlugin.destroyContainer(ExoContainer container) |
void |
BaseContainerLifecyclePlugin.destroyContainer(ExoContainer container) |
protected List<Interceptor> |
DefaultInterceptorChainFactory.getDynamicInterceptors(ExoContainer holder,
ExoContainer parent)
Gives the dynamic
Interceptor from the last to the head |
Interceptor |
DefaultInterceptorChainFactory.getInterceptorChain(ExoContainer holder,
ExoContainer parent)
Creates a new
Interceptor chain with the provided ExoContainer instance as parent container
and with the provided ExoContainer as holder of the container. |
protected List<Interceptor> |
DefaultInterceptorChainFactory.getStaticInterceptors(ExoContainer holder,
ExoContainer parent)
Gives the static
Interceptor from the last to the head |
void |
ContainerLifecyclePlugin.initContainer(ExoContainer container) |
void |
BaseContainerLifecyclePlugin.initContainer(ExoContainer container) |
static void |
ExoContainerContext.setCurrentContainer(ExoContainer instance)
Sets the current container
|
void |
ConcurrentContainer.setHolder(ExoContainer holder) |
void |
AbstractInterceptor.setHolder(ExoContainer holder)
Sets the holder which is mostly used when it is required to be able to go through the chain of
Interceptor |
void |
AbstractInterceptor.setParent(ExoContainer parent)
Sets the parent container
|
void |
ContainerLifecyclePlugin.startContainer(ExoContainer container) |
void |
BaseContainerLifecyclePlugin.startContainer(ExoContainer container) |
void |
ContainerLifecyclePlugin.stopContainer(ExoContainer container) |
void |
BaseContainerLifecyclePlugin.stopContainer(ExoContainer container) |
| Constructor and Description |
|---|
ConcurrentContainer(ExoContainer holder,
ExoContainer parent)
Creates a new container with the default
ComponentAdapterFactory and a parent container. |
ExoContainer(ExoContainer parent) |
ExoContainerContext(ExoContainer container) |
ExoContainerContext(ExoContainer container,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RequestLifeCycle.begin(ExoContainer container)
Starts the life cycle of the provided container and add it to the life cycle stack.
|
static void |
RequestLifeCycle.begin(ExoContainer container,
boolean local)
Starts the life cycle of the provided container and add it to the life cycle stack.
|
void |
ComponentLifecycle.destroyComponent(ExoContainer container) |
void |
BaseComponentLifecyclePlugin.destroyComponent(ExoContainer container,
Object component) |
void |
ComponentLifecyclePlugin.destroyComponent(ExoContainer container,
Object component) |
void |
ComponentRequestLifecycle.endRequest(ExoContainer container) |
void |
ComponentLifecycle.initComponent(ExoContainer container) |
void |
BaseComponentLifecyclePlugin.initComponent(ExoContainer container,
Object component) |
void |
ComponentLifecyclePlugin.initComponent(ExoContainer container,
Object component) |
void |
ComponentLifecycle.startComponent(ExoContainer container) |
void |
BaseComponentLifecyclePlugin.startComponent(ExoContainer container,
Object component) |
void |
ComponentLifecyclePlugin.startComponent(ExoContainer container,
Object component) |
void |
ComponentRequestLifecycle.startRequest(ExoContainer container) |
void |
ComponentLifecycle.stopComponent(ExoContainer container) |
void |
BaseComponentLifecyclePlugin.stopComponent(ExoContainer container,
Object component) |
void |
ComponentLifecyclePlugin.stopComponent(ExoContainer container,
Object component) |
| Constructor and Description |
|---|
RequestLifeCycle(ExoContainer container,
List<ComponentRequestLifecycle> components) |
ThreadContextHandler(ExoContainer container) |
| Modifier and Type | Method and Description |
|---|---|
protected ExoContainer |
ContextManagerListener.getContainer(javax.servlet.ServletRequestEvent event) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ContextManagerListener.onRequestDestroyed(ExoContainer container,
javax.servlet.ServletRequestEvent event)
Called when a request is destroyed
|
protected void |
ContextManagerListener.onRequestInitialized(ExoContainer container,
javax.servlet.ServletRequestEvent event)
Called when a request is created
|
protected void |
ContextManagerListener.onSessionCreated(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is created
|
protected void |
ContextManagerListener.onSessionDestroyed(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is destroyed
|
static void |
ContextManagerListener.registerIfNeeded(ExoContainer container,
javax.servlet.ServletContext context)
Registers dynamically the listener if a
ContextManager has been defined and
a context for SessionScoped and/or RequestScoped has been configured. |
| Modifier and Type | Field and Description |
|---|---|
protected ExoContainer |
MX4JComponentAdapter.exocontainer
.
|
| Constructor and Description |
|---|
MX4JComponentAdapter(ExoContainer holder,
ConcurrentContainer container,
Object key,
Class<T> implementation) |
MX4JComponentAdapter(ExoContainer holder,
ConcurrentContainer container,
Object key,
Class<T> implementation,
Lock lock) |
| Modifier and Type | Method and Description |
|---|---|
ExoContainer |
ManageableContainer.getHolder() |
| Modifier and Type | Method and Description |
|---|---|
void |
ManageableContainer.setParent(ExoContainer parent)
Sets the parent container
|
| Constructor and Description |
|---|
ManageableComponentAdapter(ExoContainer holder,
ConcurrentContainer container,
Object key,
Class<T> implementation) |
ManageableComponentAdapterFactory(ExoContainer holder,
ConcurrentContainer container) |
ManageableContainer(ExoContainer holder,
ExoContainer parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddJVMComponentsToRootContainer.initContainer(ExoContainer container) |
| Modifier and Type | Method and Description |
|---|---|
Interceptor |
InterceptorChainFactory.getInterceptorChain(ExoContainer holder,
ExoContainer parent)
Creates a new
Interceptor chain with the provided ExoContainer instance as parent container
and with the provided ExoContainer as holder of the container. |
void |
Interceptor.setHolder(ExoContainer holder)
Sets the holder which is mostly used when it is required to be able to go through the chain of
Interceptor |
void |
Interceptor.setParent(ExoContainer parent)
Sets the parent container
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ContainerUtil.addComponentLifecyclePlugin(ExoContainer container,
ConfigurationManager conf) |
static void |
ContainerUtil.addComponents(ExoContainer container,
ConfigurationManager conf) |
static void |
ContainerUtil.addContainerLifecyclePlugin(ExoContainer container,
ConfigurationManager conf) |
| Modifier and Type | Method and Description |
|---|---|
protected ExoContainer |
AbstractFilter.getContainer() |
protected ExoContainer |
AbstractHttpServlet.getContainer() |
protected ExoContainer |
AbstractHttpSessionListener.getContainer(javax.servlet.http.HttpSessionEvent event) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractHttpServlet.onService(ExoContainer container,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Allow the sub classes to execute a task when the method
service is called |
protected abstract void |
AbstractHttpSessionListener.onSessionCreated(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is created
|
protected abstract void |
AbstractHttpSessionListener.onSessionDestroyed(ExoContainer container,
javax.servlet.http.HttpSessionEvent event)
Allow sub-classes to execute an action when a session is destroyed
|
Copyright © 2016 eXo Platform SAS. All Rights Reserved.