net.sf.genuine.organizer.internal
Class DefaultExitService

java.lang.Object
  extended bynet.sf.genuine.organizer.internal.DefaultExitService
All Implemented Interfaces:
ExitService, Service

public class DefaultExitService
extends java.lang.Object
implements ExitService

The default exit service just calls System.exit to close the application. It is used if the application does not provide an exit handler of its own.

Author:
Tim Wellhausen

Constructor Summary
DefaultExitService(HelperService helperService)
           
 
Method Summary
 void exitApplication()
          When this method is called, the application will terminate.
 boolean isActive()
          This service is always active.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExitService

public DefaultExitService(HelperService helperService)
Method Detail

isActive

public boolean isActive()
This service is always active.

Specified by:
isActive in interface Service

exitApplication

public void exitApplication()
Description copied from interface: ExitService
When this method is called, the application will terminate.

Specified by:
exitApplication in interface ExitService