|
||||||||||
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()
|
T |
getComponent()
|
ComponentDescriptor<T> |
getComponentDescriptor()
|
MutablePlexusContainer |
getContainer()
|
LifecycleHandler |
getLifecycleHandler()
Deprecated. use start instead |
long |
getStartId()
Deprecated. for internal use only.. will be removed |
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 |
---|
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()
MutablePlexusContainer getContainer()
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 |