org.codehaus.plexus.component.manager
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, wait
dispose, getComponent, release
public ComponentManager copy()
copy
in interface ComponentManager
public ComponentDescriptor getComponentDescriptor()
getComponentDescriptor
in interface ComponentManager
public String getId()
getId
in interface ComponentManager
public LifecycleHandler getLifecycleHandler()
getLifecycleHandler
in interface ComponentManager
protected void incrementConnectionCount()
protected void decrementConnectionCount()
protected boolean connected()
public int getConnections()
getConnections
in interface ComponentManager
public void setup(PlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor)
setup
in interface ComponentManager
public void initialize()
initialize
in interface ComponentManager
protected Object createComponentInstance() throws ComponentInstantiationException, ComponentLifecycleException
protected void startComponentLifecycle(Object component) throws ComponentLifecycleException
ComponentLifecycleException
public void suspend(Object component) throws ComponentLifecycleException
suspend
in interface ComponentManager
ComponentLifecycleException
public void resume(Object component) throws ComponentLifecycleException
resume
in interface ComponentManager
ComponentLifecycleException
protected void endComponentLifecycle(Object component) throws ComponentLifecycleException
ComponentLifecycleException
public PlexusContainer getContainer()
getContainer
in interface ComponentManager
public Logger getLogger()