public interface LifecycleHandler
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 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) |
String getId()
void start(Object component, ComponentManager manager) throws PhaseExecutionException
component
- The component.manager
- The ComponentManager
PhaseExecutionException
- in case of an error.void start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm) throws PhaseExecutionException
component
- The component.manager
- The ComponentManager
realm
- The ClassRealm
.PhaseExecutionException
- in case of an error.void end(Object component, ComponentManager manager) throws PhaseExecutionException
component
- The component.manager
- The ComponentManager
PhaseExecutionException
- in case of an error.void end(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm) throws PhaseExecutionException
component
- The component.manager
- The ComponentManager
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.PhaseExecutionException
- in case of an error.void initialize()
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.