org.apache.fulcrum.yaafi.service.shutdown
Class Shutdown
java.lang.Object
org.apache.fulcrum.yaafi.service.shutdown.Shutdown
- All Implemented Interfaces:
- Runnable
public class Shutdown
- extends Object
- implements 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 |
Shutdown
public Shutdown(org.apache.avalon.framework.activity.Disposable disposable,
boolean useSystemExit)
- Constructor.
- Parameters:
disposable
- the instance to be disposeduseSystemExit
- call System.exit()?
run
public void run()
- Specified by:
run
in interface Runnable
- See Also:
Runnable.run()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.