public interface ComponentManager<T>
Modifier and Type | Field and Description |
---|---|
static AtomicLong |
NEXT_START_ID
Deprecated.
for internal use only.. will be removed
|
static 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() |
String |
getRole() |
String |
getRoleHint() |
long |
getStartId()
Deprecated.
for internal use only.. will be removed
|
Class<? extends T> |
getType() |
void |
release(Object component) |
void |
start(Object component) |
static final String ROLE
static final AtomicLong NEXT_START_ID
int getConnections()
LifecycleHandler getLifecycleHandler()
LifecycleHandler
.void dispose() throws ComponentLifecycleException
ComponentLifecycleException
void release(Object component) throws ComponentLifecycleException
ComponentLifecycleException
T getComponent() throws ComponentInstantiationException, ComponentLifecycleException
ComponentDescriptor<T> getComponentDescriptor()
String getRole()
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(Object component) throws PhaseExecutionException
PhaseExecutionException
long getStartId()
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.