Class DaemonLoader.Controller
java.lang.Object
org.apache.commons.daemon.support.DaemonLoader.Controller
- All Implemented Interfaces:
DaemonController
- Enclosing class:
- DaemonLoader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
fail()
Shuts down daemon and logs failed message.void
Shuts down daemon and logs failed message.void
Shuts down daemon and logs failed message.void
Shuts down daemon and logs failed message.void
reload()
Reloads daemonvoid
shutdown()
Shuts down the daemon.
-
Method Details
-
shutdown
Description copied from interface:DaemonController
Shuts down the daemon.- Specified by:
shutdown
in interfaceDaemonController
- Throws:
IllegalStateException
- If the daemon is not in a valid state to be shutdown
-
reload
Description copied from interface:DaemonController
Reloads daemon- Specified by:
reload
in interfaceDaemonController
- Throws:
IllegalStateException
- If the daemon is not in a valid state to be reloaded
-
fail
Description copied from interface:DaemonController
Shuts down daemon and logs failed message.- Specified by:
fail
in interfaceDaemonController
-
fail
Description copied from interface:DaemonController
Shuts down daemon and logs failed message.- Specified by:
fail
in interfaceDaemonController
- Parameters:
message
- The message to log
-
fail
Description copied from interface:DaemonController
Shuts down daemon and logs failed message.- Specified by:
fail
in interfaceDaemonController
- Parameters:
exception
- The exception to log
-
fail
Description copied from interface:DaemonController
Shuts down daemon and logs failed message.- Specified by:
fail
in interfaceDaemonController
- Parameters:
message
- The message to logexception
- The exception to log
-