com.adobe.idp.dsc.component
Interface LifeCycle


public interface LifeCycle

A class implementing this interface can be configured to be called back as a component if started or stopped.


Method Summary
 void onStart()
          Called by the service container when a component is started.
 void onStop()
          Called by the service container when a component is stopped.
 void setComponentContext(ComponentContext aCtx)
          Sets the component context used to access the current component.
 

Method Detail

setComponentContext

void setComponentContext(ComponentContext aCtx)
Sets the component context used to access the current component.

Parameters:
aCtx - The component context used to access the current component.

onStart

void onStart()
Called by the service container when a component is started.


onStop

void onStop()
Called by the service container when a component is stopped.



[an error occurred while processing this directive] [an error occurred while processing this directive]