Package org.codehaus.plexus.util.cli
Class ShutdownHookUtils
java.lang.Object
org.codehaus.plexus.util.cli.ShutdownHookUtils
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addShutDownHook
(Thread hook) static void
removeShutdownHook
(Thread hook)
-
Constructor Details
-
ShutdownHookUtils
ShutdownHookUtils()
-
-
Method Details
-
addShutDownHook
-
removeShutdownHook
-