org.codehaus.plexus.component.manager
Interface ComponentManager
- All Known Implementing Classes:
- AbstractComponentManager, ClassicSingletonComponentManager, ContainerComponentManager, KeepAliveSingletonComponentManager, PerLookupComponentManager
public interface ComponentManager
Manages a component manager.
Determines when a component is shutdown, and when it's started up. Each
manager deals with only one component class, though may handle multiple
instances of this class.
- Version:
- $Id: ComponentManager.java 5449 2007-01-16 23:42:11Z jvanzyl $
- Author:
- Jason van Zyl
Field Summary |
static java.lang.String |
ROLE
|
ROLE
static final java.lang.String ROLE
copy
ComponentManager copy()
getId
java.lang.String getId()
setup
void setup(MutablePlexusContainer container,
LifecycleHandler lifecycleHandler,
org.codehaus.plexus.component.repository.ComponentDescriptor componentDescriptor)
initialize
void initialize()
getConnections
int getConnections()
getLifecycleHandler
LifecycleHandler getLifecycleHandler()
dispose
void dispose()
throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
release
void release(java.lang.Object component)
throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
suspend
void suspend(java.lang.Object component)
throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
resume
void resume(java.lang.Object component)
throws org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
getComponent
java.lang.Object getComponent()
throws ComponentInstantiationException,
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
ComponentInstantiationException
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
getComponent
java.lang.Object getComponent(org.codehaus.plexus.classworlds.realm.ClassRealm realm)
throws ComponentInstantiationException,
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
- Throws:
ComponentInstantiationException
org.codehaus.plexus.component.repository.exception.ComponentLifecycleException
getComponentDescriptor
org.codehaus.plexus.component.repository.ComponentDescriptor getComponentDescriptor()
getContainer
MutablePlexusContainer getContainer()
Copyright © 2001-2007 Codehaus. All Rights Reserved.