org.apache.maven.shared.utils.cli
Class ShutdownHookUtils
java.lang.Object
org.apache.maven.shared.utils.cli.ShutdownHookUtils
public class ShutdownHookUtils
- extends Object
A shutdown hook that does not throw any exceptions upon container startup/shutdown or security manager
restrictions.
Incorrect usage of the hook itself may still throw an exception.
- Author:
- Kristian Rosenvold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShutdownHookUtils
public ShutdownHookUtils()
addShutDownHook
public static void addShutDownHook(Thread hook)
removeShutdownHook
public static void removeShutdownHook(Thread hook)
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.