public class DaemonStarter extends Object implements DaemonController
DaemonController interface for
local starting of Daemon implementations.| Constructor and Description |
|---|
DaemonStarter(Class<?> className,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
fail()
Shuts down daemon and logs failed message.
|
void |
fail(Exception arg0)
Shuts down daemon and logs failed message.
|
void |
fail(String arg0)
Shuts down daemon and logs failed message.
|
void |
fail(String arg0,
Exception arg1)
Shuts down daemon and logs failed message.
|
static void |
main(String[] args) |
void |
reload()
Reloads daemon
|
void |
shutdown()
Shuts down the daemon.
|
public void fail()
throws IllegalStateException
DaemonControllerfail in interface DaemonControllerIllegalStateExceptionpublic void fail(String arg0) throws IllegalStateException
DaemonControllerfail in interface DaemonControllerIllegalStateExceptionpublic void fail(Exception arg0) throws IllegalStateException
DaemonControllerfail in interface DaemonControllerIllegalStateExceptionpublic void fail(String arg0, Exception arg1) throws IllegalStateException
DaemonControllerfail in interface DaemonControllerIllegalStateExceptionpublic void reload()
throws IllegalStateException
DaemonControllerreload in interface DaemonControllerIllegalStateExceptionpublic void shutdown()
throws IllegalStateException
DaemonControllershutdown in interface DaemonControllerIllegalStateException