Interface ComponentManager<T>
- All Known Implementing Classes:
AbstractComponentManager
,PerLookupComponentManager
,SingletonComponentManager
public interface ComponentManager<T>
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.
- Author:
- Jason van Zyl
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AtomicLong
Deprecated.for internal use only.. will be removedstatic final String
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
dissociateComponentRealm
(org.codehaus.plexus.classworlds.realm.ClassRealm realm) int
Deprecated.use start insteadorg.codehaus.plexus.classworlds.realm.ClassRealm
getRealm()
getRole()
long
Deprecated.for internal use only.. will be removedgetType()
void
void
-
Field Details
-
ROLE
-
NEXT_START_ID
Deprecated.for internal use only.. will be removed
-
-
Method Details
-
getConnections
int getConnections() -
getLifecycleHandler
LifecycleHandler getLifecycleHandler()Deprecated.use start instead- Returns:
LifecycleHandler
.
-
dispose
- Throws:
ComponentLifecycleException
-
release
- Throws:
ComponentLifecycleException
-
getComponent
-
getComponentDescriptor
ComponentDescriptor<T> getComponentDescriptor() -
getType
-
getRole
String getRole() -
getRoleHint
String getRoleHint() -
getContainer
MutablePlexusContainer getContainer() -
dissociateComponentRealm
void dissociateComponentRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentLifecycleException - Throws:
ComponentLifecycleException
-
getRealm
org.codehaus.plexus.classworlds.realm.ClassRealm getRealm() -
start
- Throws:
PhaseExecutionException
-
getStartId
long getStartId()Deprecated.for internal use only.. will be removed- Returns:
- The start id.
-