org.jwarp.service.system
Interface IShutDownable


public interface IShutDownable

This interface must be implemented by all system components who want/need to be shutdown finally by the system. In complex server environments shutdown of a whole service or application is not a simple task. Static references to instances can be bis obstacles for performing a controlled system shutdown or even can prevent you from stopping all running threads and processes.


Method Summary
 void shutDown(ITicket user)
          This method is called when the component should be shut down.
 

Method Detail

shutDown

public void shutDown(ITicket user)
This method is called when the component should be shut down. Remove all references to your objects and stop all running threads. After this call gc and finalize is called which finally should free the system resources.

©   O R C A   S y s t e m s