public abstract class AbstractLifecycleHandler extends Object implements LifecycleHandler
| Constructor and Description |
|---|
AbstractLifecycleHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addBeginSegment(Phase phase) |
void |
addEndSegment(Phase phase) |
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() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, initializepublic void addBeginSegment(Phase phase)
addBeginSegment in interface LifecycleHandlerphase - Phasepublic List getBeginSegment()
public void addEndSegment(Phase phase)
addEndSegment in interface LifecycleHandlerphase - Phasepublic List getEndSegment()
public void start(Object component, ComponentManager manager) throws PhaseExecutionException
start in interface LifecycleHandlercomponent - The component.manager - The ComponentManagerPhaseExecutionException - in case of an error.public void start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws PhaseExecutionException
start in interface LifecycleHandlercomponent - The component.manager - The ComponentManagerrealm - The ClassRealm.PhaseExecutionException - in case of an error.public void end(Object component, ComponentManager manager) throws PhaseExecutionException
end in interface LifecycleHandlercomponent - The component.manager - The ComponentManagerPhaseExecutionException - in case of an error.public void end(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm contextRealm) throws PhaseExecutionException
end in interface LifecycleHandlercomponent - The component.manager - The ComponentManagercontextRealm - 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 - in case of an error.Copyright © 2001–2019 Codehaus Plexus. All rights reserved.