public abstract class AbstractComponentManager extends Object implements ComponentManager, Cloneable
ROLE| Constructor and Description |
|---|
AbstractComponentManager() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
connected() |
ComponentManager |
copy() |
protected Object |
createComponentInstance() |
protected void |
decrementConnectionCount() |
protected void |
endComponentLifecycle(Object component) |
ComponentDescriptor |
getComponentDescriptor() |
int |
getConnections() |
PlexusContainer |
getContainer() |
String |
getId() |
LifecycleHandler |
getLifecycleHandler() |
Logger |
getLogger() |
protected void |
incrementConnectionCount() |
void |
initialize() |
void |
resume(Object component) |
void |
setup(PlexusContainer container,
LifecycleHandler lifecycleHandler,
ComponentDescriptor componentDescriptor) |
protected void |
startComponentLifecycle(Object component) |
void |
suspend(Object component) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getComponent, releasepublic ComponentManager copy()
copy in interface ComponentManagerpublic ComponentDescriptor getComponentDescriptor()
getComponentDescriptor in interface ComponentManagerpublic String getId()
getId in interface ComponentManagerpublic LifecycleHandler getLifecycleHandler()
getLifecycleHandler in interface ComponentManagerprotected void incrementConnectionCount()
protected void decrementConnectionCount()
protected boolean connected()
public int getConnections()
getConnections in interface ComponentManagerpublic void setup(PlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor)
setup in interface ComponentManagerpublic void initialize()
initialize in interface ComponentManagerprotected Object createComponentInstance() throws ComponentInstantiationException, ComponentLifecycleException
protected void startComponentLifecycle(Object component) throws ComponentLifecycleException
ComponentLifecycleExceptionpublic void suspend(Object component) throws ComponentLifecycleException
suspend in interface ComponentManagerComponentLifecycleExceptionpublic void resume(Object component) throws ComponentLifecycleException
resume in interface ComponentManagerComponentLifecycleExceptionprotected void endComponentLifecycle(Object component) throws ComponentLifecycleException
ComponentLifecycleExceptionpublic PlexusContainer getContainer()
getContainer in interface ComponentManagerpublic Logger getLogger()