Package org.jboss.ws.tools
Class SystemExitHandler
java.lang.Object
org.jboss.ws.tools.SystemExitHandler
- All Implemented Interfaces:
ExitHandler
Default ExitHandler that actually calls System.exit().
Used in production code.
Implemented as a thread-safe singleton.
-
Method Summary
Modifier and TypeMethodDescriptionvoidexit(int status) Handle program exit with the given status code.static SystemExitHandler
-
Method Details
-
getInstance
-
exit
public void exit(int status) Description copied from interface:ExitHandlerHandle program exit with the given status code.- Specified by:
exitin interfaceExitHandler- Parameters:
status- Exit status code (0 for success, non-zero for error)
-