public interface ComponentManager<T>
Modifier and Type | Field and Description |
---|---|
static java.util.concurrent.atomic.AtomicLong |
NEXT_START_ID
Deprecated.
for internal use only.. will be removed
|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
dissociateComponentRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm) |
T |
getComponent() |
ComponentDescriptor<T> |
getComponentDescriptor() |
int |
getConnections() |
MutablePlexusContainer |
getContainer() |
LifecycleHandler |
getLifecycleHandler()
Deprecated.
use start instead
|
org.codehaus.plexus.classworlds.realm.ClassRealm |
getRealm() |
java.lang.String |
getRole() |
java.lang.String |
getRoleHint() |
long |
getStartId()
Deprecated.
for internal use only.. will be removed
|
java.lang.Class<? extends T> |
getType() |
void |
release(java.lang.Object component) |
void |
start(java.lang.Object component) |
static final java.lang.String ROLE
static final java.util.concurrent.atomic.AtomicLong NEXT_START_ID
int getConnections()
LifecycleHandler getLifecycleHandler()
LifecycleHandler
.void dispose() throws ComponentLifecycleException
ComponentLifecycleException
void release(java.lang.Object component) throws ComponentLifecycleException
ComponentLifecycleException
T getComponent() throws ComponentInstantiationException, ComponentLifecycleException
ComponentDescriptor<T> getComponentDescriptor()
java.lang.Class<? extends T> getType()
java.lang.String getRole()
java.lang.String getRoleHint()
MutablePlexusContainer getContainer()
void dissociateComponentRealm(org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws ComponentLifecycleException
ComponentLifecycleException
org.codehaus.plexus.classworlds.realm.ClassRealm getRealm()
void start(java.lang.Object component) throws PhaseExecutionException
PhaseExecutionException
long getStartId()