Class DaemonLoader.Controller
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader.Controller
- All Implemented Interfaces:
DaemonController
- Enclosing class:
DaemonLoader
A DaemonController that acts on the the global
DaemonLoader state.-
Method Summary
Modifier and TypeMethodDescriptionvoidfail()Shuts down daemon and logs failed message.voidShuts down daemon and logs failed message.voidShuts down daemon and logs failed message.voidShuts down daemon and logs failed message.voidreload()Reloads daemonvoidshutdown()Shuts down the daemon.
-
Method Details
-
shutdown
Description copied from interface:DaemonControllerShuts down the daemon.- Specified by:
shutdownin interfaceDaemonController- Throws:
IllegalStateException- If the daemon is not in a valid state to be shutdown
-
reload
Description copied from interface:DaemonControllerReloads daemon- Specified by:
reloadin interfaceDaemonController- Throws:
IllegalStateException- If the daemon is not in a valid state to be reloaded
-
fail
Description copied from interface:DaemonControllerShuts down daemon and logs failed message.- Specified by:
failin interfaceDaemonController
-
fail
Description copied from interface:DaemonControllerShuts down daemon and logs failed message.- Specified by:
failin interfaceDaemonController- Parameters:
message- The message to log
-
fail
Description copied from interface:DaemonControllerShuts down daemon and logs failed message.- Specified by:
failin interfaceDaemonController- Parameters:
exception- The exception to log
-
fail
Description copied from interface:DaemonControllerShuts down daemon and logs failed message.- Specified by:
failin interfaceDaemonController- Parameters:
message- The message to logexception- The exception to log
-