Package org.codehaus.plexus.lifecycle
Interface LifecycleHandler
-
- All Known Implementing Classes:
AbstractLifecycleHandler,BasicLifecycleHandler
public interface LifecycleHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddBeginSegment(Phase phase)voidaddEndSegment(Phase phase)voidend(java.lang.Object component, ComponentManager manager)Deprecated.voidend(java.lang.Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm)java.lang.StringgetId()voidinitialize()initialize.voidstart(java.lang.Object component, ComponentManager manager)Deprecated.voidstart(java.lang.Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
-
-
Method Detail
-
getId
java.lang.String getId()
-
start
void start(java.lang.Object component, ComponentManager manager) throws PhaseExecutionExceptionDeprecated.- Parameters:
component- The component.manager- TheComponentManager- Throws:
PhaseExecutionException- in case of an error.
-
start
void start(java.lang.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
void end(java.lang.Object component, ComponentManager manager) throws PhaseExecutionExceptionDeprecated.- Parameters:
component- The component.manager- TheComponentManager- Throws:
PhaseExecutionException- in case of an error.
-
end
void end(java.lang.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.
-
-