com.partnersoft.system
Class ShutdownManager

java.lang.Object
  extended by com.partnersoft.system.ShutdownManager

public class ShutdownManager
extends java.lang.Object

Manages the surprising complexities of the shutdown process.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Paul Reavis

Constructor Summary
ShutdownManager()
           
 
Method Summary
 void addShutdownTest(BooleanTest test)
           
 boolean runShutdownTests()
          Runs all the shutdown test, stopping and returning false if any return false;
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownManager

public ShutdownManager()
Method Detail

addShutdownTest

public void addShutdownTest(BooleanTest test)

runShutdownTests

public boolean runShutdownTests()
Runs all the shutdown test, stopping and returning false if any return false;

Returns:
true if OK to shutdown