org.apache.fulcrum.yaafi.service.shutdown
Class Shutdown

java.lang.Object
  extended by org.apache.fulcrum.yaafi.service.shutdown.Shutdown
All Implemented Interfaces:
java.lang.Runnable

public class Shutdown
extends java.lang.Object
implements java.lang.Runnable

This class process the shutdown notification from the JVM.

Author:
Siegfried Goeschl

Constructor Summary
Shutdown(org.apache.avalon.framework.activity.Disposable disposable, boolean useSystemExit)
          Constructor.
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shutdown

public Shutdown(org.apache.avalon.framework.activity.Disposable disposable,
                boolean useSystemExit)
Constructor.

Parameters:
disposable - the instance to be disposed
useSystemExit - call System.exit()?
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
See Also:
Runnable.run()


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.