|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.lifecycle.AbstractLifecycleHandler
public abstract class AbstractLifecycleHandler
Constructor Summary | |
---|---|
AbstractLifecycleHandler()
|
Method Summary | |
---|---|
void |
end(Object component,
ComponentManager manager)
Deprecated. |
void |
end(Object component,
ComponentManager manager,
org.codehaus.plexus.classworlds.realm.ClassRealm contextRealm)
End a component's lifecycle. |
List |
getBeginSegment()
|
List |
getEndSegment()
|
String |
getId()
|
String |
getName()
|
List |
getResumeSegment()
|
List |
getSuspendSegment()
|
void |
resume(Object component,
ComponentManager manager)
|
void |
start(Object component,
ComponentManager manager)
Deprecated. |
void |
start(Object component,
ComponentManager manager,
org.codehaus.plexus.classworlds.realm.ClassRealm realm)
Start a component's lifecycle. |
void |
suspend(Object component,
ComponentManager manager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.plexus.lifecycle.LifecycleHandler |
---|
initialize |
Constructor Detail |
---|
public AbstractLifecycleHandler()
Method Detail |
---|
public String getId()
getId
in interface LifecycleHandler
public String getName()
public List getBeginSegment()
public List getSuspendSegment()
public List getResumeSegment()
public List getEndSegment()
public void start(Object component, ComponentManager manager) throws PhaseExecutionException
start
in interface LifecycleHandler
PhaseExecutionException
public void start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws PhaseExecutionException
start
in interface LifecycleHandler
PhaseExecutionException
public void suspend(Object component, ComponentManager manager) throws PhaseExecutionException
suspend
in interface LifecycleHandler
PhaseExecutionException
public void resume(Object component, ComponentManager manager) throws PhaseExecutionException
resume
in interface LifecycleHandler
PhaseExecutionException
public void end(Object component, ComponentManager manager) throws PhaseExecutionException
end
in interface LifecycleHandler
PhaseExecutionException
public void end(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm contextRealm) throws PhaseExecutionException
end
in interface LifecycleHandler
contextRealm
- the realm used to create the component, which may not be the component's realm; this
component could have requirements that were satisfied using components from this realm. It could be
used to lookup the same manager components that were used to start the component.
PhaseExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |