org.exoplatform.container
Class ExoContainer

java.lang.Object
  extended by org.picocontainer.defaults.DefaultPicoContainer
      extended by org.exoplatform.container.CachingContainer
          extended by org.exoplatform.container.jmx.ManageableContainer
              extended by org.exoplatform.container.ExoContainer
All Implemented Interfaces:
java.io.Serializable, org.picocontainer.Disposable, org.picocontainer.MutablePicoContainer, org.picocontainer.PicoContainer, org.picocontainer.Startable
Direct Known Subclasses:
PortalContainer, RootContainer, StandaloneContainer

public class ExoContainer
extends ManageableContainer

Created by The eXo Platform SAS Author : Tuan Nguyen tuan08@users.sourceforge.net Date: Jul 18, 2004 Time: 12:15:28 AM

See Also:
Serialized Form

Field Summary
protected  ExoContainerContext context
           
protected  org.picocontainer.PicoContainer parent
           
 
Fields inherited from class org.exoplatform.container.jmx.ManageableContainer
managementContext
 
Constructor Summary
ExoContainer(org.picocontainer.defaults.ComponentAdapterFactory factory, org.picocontainer.PicoContainer parent)
           
ExoContainer(ManagementContextImpl managementContext)
           
ExoContainer(org.picocontainer.PicoContainer parent)
           
 
Method Summary
 void addComponentLifecylePlugin(ComponentLifecyclePlugin plugin)
           
 void addContainerLifecylePlugin(ContainerLifecyclePlugin plugin)
           
<T> T
createComponent(java.lang.Class<T> clazz)
           
<T> T
createComponent(java.lang.Class<T> clazz, InitParams params)
           
 void destroyContainer()
           
 ExoContainerContext getContext()
           
 void initContainer()
           
 void startContainer()
           
 void stopContainer()
           
 
Methods inherited from class org.exoplatform.container.jmx.ManageableContainer
getMBeanServer, printMBeanServer, registerComponent, registerComponentInstance
 
Methods inherited from class org.exoplatform.container.CachingContainer
addChildContainer, getComponentAdapterOfType, getComponentAdaptersOfType, getComponentInstance, getComponentInstanceOfType, getComponentInstancesOfType, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentImplementation, registerComponentInstance, removeChildContainer, unregisterComponent
 
Methods inherited from class org.picocontainer.defaults.DefaultPicoContainer
accept, dispose, getComponentAdapter, getComponentAdapters, getComponentInstances, getParent, makeChildContainer, start, stop, unregisterComponentByInstance, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected ExoContainerContext context

parent

protected org.picocontainer.PicoContainer parent
Constructor Detail

ExoContainer

public ExoContainer(ManagementContextImpl managementContext)

ExoContainer

public ExoContainer(org.picocontainer.PicoContainer parent)

ExoContainer

public ExoContainer(org.picocontainer.defaults.ComponentAdapterFactory factory,
                    org.picocontainer.PicoContainer parent)
Method Detail

getContext

public ExoContainerContext getContext()

initContainer

public void initContainer()
                   throws java.lang.Exception
Throws:
java.lang.Exception

startContainer

public void startContainer()
                    throws java.lang.Exception
Throws:
java.lang.Exception

stopContainer

public void stopContainer()
                   throws java.lang.Exception
Throws:
java.lang.Exception

destroyContainer

public void destroyContainer()
                      throws java.lang.Exception
Throws:
java.lang.Exception

addComponentLifecylePlugin

public void addComponentLifecylePlugin(ComponentLifecyclePlugin plugin)

addContainerLifecylePlugin

public void addContainerLifecylePlugin(ContainerLifecyclePlugin plugin)

createComponent

public <T> T createComponent(java.lang.Class<T> clazz)
                  throws java.lang.Exception
Throws:
java.lang.Exception

createComponent

public <T> T createComponent(java.lang.Class<T> clazz,
                             InitParams params)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.