Expresso 5-6

com.jcorporate.expresso.kernel
Interface Startable


public interface Startable

This Interface is implemented by any component that has services that 'start' and 'stop'. The start lifecycle is called after configuration is complete, the stop lifecycle is called right before destruction, or in reconfiguration.

Since:
Expresso 5.1
Author:
Michael Rimov

Method Summary
 void start()
          Called when the system wants the service to start.
 void stop()
          Called when the system wants the service to stop.
 

Method Detail

start

public void start()
Called when the system wants the service to start. This, like any of the other lifecycle events may


stop

public void stop()
Called when the system wants the service to stop. Stop should attempt to release all resources, so that a component can virtuall "cold start" when (if) start is called again.


Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.