eXo Kernel :: Container Multi-Threaded 2.5.0-CR2

org.exoplatform.container
Class CachingContainerMT

java.lang.Object
  extended by org.exoplatform.container.AbstractContainer
      extended by org.exoplatform.container.AbstractInterceptor
          extended by org.exoplatform.container.CachingContainer
              extended by org.exoplatform.container.CachingContainerMT
All Implemented Interfaces:
Serializable, Container, Interceptor, Disposable, Startable

public class CachingContainerMT
extends CachingContainer

Version:
$Id$
Author:
Nicolas Filotto
See Also:
Serialized Form

Field Summary
protected  ThreadLocal<Deque<DependencyStack>> dependencyStacks
          Used to detect all the dependencies not properly defined
 
Fields inherited from class org.exoplatform.container.AbstractInterceptor
holder, parent
 
Fields inherited from class org.exoplatform.container.AbstractContainer
delegate
 
Constructor Summary
CachingContainerMT()
           
 
Method Summary
<T> T
getComponentInstance(Object componentKey, Class<T> bindType, boolean autoRegistration)
          
<T> T
getComponentInstanceOfType(Class<T> componentType, boolean autoRegistration)
          
 
Methods inherited from class org.exoplatform.container.CachingContainer
getComponentAdapterOfType, getComponentAdaptersOfType, getComponentInstancesOfType, getId, registerComponentImplementation, registerComponentInstance, unregisterComponent
 
Methods inherited from class org.exoplatform.container.AbstractInterceptor
setHolder, setParent, setSuccessor
 
Methods inherited from class org.exoplatform.container.AbstractContainer
accept, createComponent, dispose, getComponentAdapter, getComponentAdapters, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize, start, stop
 
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, getComponentAdapter, getComponentAdapters, getManagementContext, getMBeanServer, getScopingObjectName, getSuccessor, initialize
 
Methods inherited from interface org.picocontainer.Startable
start, stop
 
Methods inherited from interface org.picocontainer.Disposable
dispose
 

Field Detail

dependencyStacks

protected final transient ThreadLocal<Deque<DependencyStack>> dependencyStacks
Used to detect all the dependencies not properly defined

Constructor Detail

CachingContainerMT

public CachingContainerMT()
Method Detail

getComponentInstanceOfType

public <T> T getComponentInstanceOfType(Class<T> componentType,
                                        boolean autoRegistration)

Specified by:
getComponentInstanceOfType in interface Container
Overrides:
getComponentInstanceOfType in class CachingContainer

getComponentInstance

public <T> T getComponentInstance(Object componentKey,
                                  Class<T> bindType,
                                  boolean autoRegistration)
                       throws ContainerException

Specified by:
getComponentInstance in interface Container
Overrides:
getComponentInstance in class CachingContainer
Throws:
ContainerException

eXo Kernel :: Container Multi-Threaded 2.5.0-CR2

Copyright © 2014 eXo Platform SAS. All Rights Reserved.