Package org.codehaus.plexus.lifecycle
Interface LifecycleHandler
- All Known Implementing Classes:
AbstractLifecycleHandler,BasicLifecycleHandler
public interface LifecycleHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBeginSegment(Phase phase) voidaddEndSegment(Phase phase) voidend(Object component, ComponentManager manager) Deprecated.voidend(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm) getId()voidinitialize.voidstart(Object component, ComponentManager manager) Deprecated.voidstart(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
Method Details
-
getId
String getId() -
addBeginSegment
- Parameters:
phase-Phase
-
addEndSegment
- Parameters:
phase-Phase
-
start
Deprecated.- Parameters:
component- The component.manager- TheComponentManager- Throws:
PhaseExecutionException- in case of an error.
-
start
void start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws PhaseExecutionException - Parameters:
component- The component.manager- TheComponentManagerrealm- TheClassRealm.- Throws:
PhaseExecutionException- in case of an error.
-
end
Deprecated.- Parameters:
component- The component.manager- TheComponentManager- Throws:
PhaseExecutionException- in case of an error.
-
end
void end(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm) throws PhaseExecutionException - Parameters:
component- The component.manager- TheComponentManagercomponentContextRealm- 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.- Throws:
PhaseExecutionException- in case of an error.
-
initialize
void initialize()initialize.
-