org.exoplatform.container.management
Class ManageableContainer
java.lang.Object
org.exoplatform.container.ConcurrentPicoContainer
org.exoplatform.container.mc.MCIntegrationContainer
org.exoplatform.container.CachingContainer
org.exoplatform.container.TenantsContainer
org.exoplatform.container.management.ManageableContainer
- All Implemented Interfaces:
- Serializable, org.picocontainer.Disposable, org.picocontainer.MutablePicoContainer, org.picocontainer.PicoContainer, org.picocontainer.Startable
- Direct Known Subclasses:
- ExoContainer
public class ManageableContainer
- extends TenantsContainer
- Version:
- $Revision$
- Author:
- Julien Viet
- See Also:
- Serialized Form
| Methods inherited from class org.exoplatform.container.ConcurrentPicoContainer |
accept, accept, addChildContainer, addComponentToCtx, canBeDisposed, canBeStarted, canBeStopped, dispose, getComponentAdapter, getComponentAdapters, getComponentInstances, getParent, makeChildContainer, removeChildContainer, removeComponentFromCtx, start, unregisterComponentByInstance, verify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManageableContainer
public ManageableContainer()
ManageableContainer
public ManageableContainer(org.picocontainer.PicoContainer parent)
ManageableContainer
public ManageableContainer(org.picocontainer.defaults.ComponentAdapterFactory componentAdapterFactory,
org.picocontainer.PicoContainer parent)
ManageableContainer
public ManageableContainer(org.picocontainer.defaults.ComponentAdapterFactory componentAdapterFactory)
getRegisteredComponentNames
public Set<String> getRegisteredComponentNames()
throws org.picocontainer.PicoException
- Throws:
org.picocontainer.PicoException
getManagementContext
public ManagementContext getManagementContext()
getMBeanServer
public final MBeanServer getMBeanServer()
getScopingObjectName
public ObjectName getScopingObjectName()
- Gives the ObjectName of the container build from the scoping data
- Returns:
registerComponentInstance
public org.picocontainer.ComponentAdapter registerComponentInstance(Object componentKey,
Object componentInstance)
throws org.picocontainer.PicoRegistrationException
- Description copied from class:
ConcurrentPicoContainer
-
The returned ComponentAdapter will be an
InstanceComponentAdapter.
- Specified by:
registerComponentInstance in interface org.picocontainer.MutablePicoContainer- Overrides:
registerComponentInstance in class CachingContainer
- Throws:
org.picocontainer.PicoRegistrationException
unregisterComponent
public org.picocontainer.ComponentAdapter unregisterComponent(Object componentKey)
- Description copied from class:
TenantsContainer
-
- Specified by:
unregisterComponent in interface org.picocontainer.MutablePicoContainer- Overrides:
unregisterComponent in class TenantsContainer
stop
public void stop()
- Description copied from class:
ConcurrentPicoContainer
- Stop the components of this PicoContainer and all its logical child containers.
Any component implementing the lifecycle interface
Startable will be stopped.
- Specified by:
stop in interface org.picocontainer.Startable- Overrides:
stop in class ConcurrentPicoContainer
- See Also:
ConcurrentPicoContainer.makeChildContainer(),
ConcurrentPicoContainer.addChildContainer(PicoContainer),
ConcurrentPicoContainer.removeChildContainer(PicoContainer)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.