|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
static java.util.concurrent.atomic.AtomicLong |
NEXT_START_ID
Deprecated. for internal use only.. will be removed |
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
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)
|
Field Detail |
---|
static final java.lang.String ROLE
static final java.util.concurrent.atomic.AtomicLong NEXT_START_ID
Method Detail |
---|
int getConnections()
LifecycleHandler getLifecycleHandler()
void dispose() throws ComponentLifecycleException
ComponentLifecycleException
void release(java.lang.Object component) throws ComponentLifecycleException
ComponentLifecycleException
T getComponent() throws ComponentInstantiationException, ComponentLifecycleException
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |