org.codehaus.plexus.component.manager
public interface ComponentManager
Modifier and Type | Method and Description |
---|---|
ComponentManager |
copy() |
void |
dispose() |
Object |
getComponent() |
ComponentDescriptor |
getComponentDescriptor() |
int |
getConnections() |
PlexusContainer |
getContainer() |
String |
getId() |
LifecycleHandler |
getLifecycleHandler() |
void |
initialize() |
void |
release(Object component) |
void |
resume(Object component) |
void |
setup(PlexusContainer container,
LifecycleHandler lifecycleHandler,
ComponentDescriptor componentDescriptor) |
void |
suspend(Object component) |
static final String ROLE
ComponentManager copy()
String getId()
void setup(PlexusContainer container, LifecycleHandler lifecycleHandler, ComponentDescriptor componentDescriptor)
void initialize()
int getConnections()
LifecycleHandler getLifecycleHandler()
void dispose() throws ComponentLifecycleException
ComponentLifecycleException
void release(Object component) throws ComponentLifecycleException
ComponentLifecycleException
void suspend(Object component) throws ComponentLifecycleException
ComponentLifecycleException
void resume(Object component) throws ComponentLifecycleException
ComponentLifecycleException
Object getComponent() throws ComponentInstantiationException, ComponentLifecycleException
ComponentDescriptor getComponentDescriptor()
PlexusContainer getContainer()