org.codehaus.plexus.lifecycle
Interface LifecycleHandler

All Known Implementing Classes:
AbstractLifecycleHandler, BasicLifecycleHandler, BootstrapLifecycleHandler, PassiveLifecycleHandler, PlexusLifecycleHandler

public interface LifecycleHandler


Method Summary
 void end(Object component, ComponentManager manager)
          Deprecated.  
 void end(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm)
           
 String getId()
           
 void initialize()
           
 void resume(Object component, ComponentManager manager)
           
 void start(Object component, ComponentManager manager)
          Deprecated.  
 void start(Object component, ComponentManager manager, org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           
 void suspend(Object component, ComponentManager manager)
           
 

Method Detail

getId

String getId()

start

void start(Object component,
           ComponentManager manager)
           throws PhaseExecutionException
Deprecated. 

Throws:
PhaseExecutionException

start

void start(Object component,
           ComponentManager manager,
           org.codehaus.plexus.classworlds.realm.ClassRealm realm)
           throws PhaseExecutionException
Throws:
PhaseExecutionException

suspend

void suspend(Object component,
             ComponentManager manager)
             throws PhaseExecutionException
Throws:
PhaseExecutionException

resume

void resume(Object component,
            ComponentManager manager)
            throws PhaseExecutionException
Throws:
PhaseExecutionException

end

void end(Object component,
         ComponentManager manager)
         throws PhaseExecutionException
Deprecated. 

Throws:
PhaseExecutionException

end

void end(Object component,
         ComponentManager manager,
         org.codehaus.plexus.classworlds.realm.ClassRealm componentContextRealm)
         throws PhaseExecutionException
Parameters:
component -
manager -
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

initialize

void initialize()


Copyright © 2001-2008 Codehaus. All Rights Reserved.