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 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 componentContextRealm)
String
getId()
void
initialize()
initialize.void
start(Object component, ComponentManager manager)
Deprecated.void
start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
-
-
-
Method Detail
-
getId
String getId()
-
start
void start(Object component, ComponentManager manager) throws PhaseExecutionException
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
- TheComponentManager
realm
- TheClassRealm
.- Throws:
PhaseExecutionException
- in case of an error.
-
end
void end(Object component, ComponentManager manager) throws PhaseExecutionException
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
- TheComponentManager
componentContextRealm
- 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.
-
-