public class TaskomaticDaemon extends BaseDaemon
SchedulerKernel| Modifier and Type | Field and Description |
|---|---|
static int |
ERR_SCHED_CREATE |
LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_STATUS, SUCCESS| Constructor and Description |
|---|
TaskomaticDaemon() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.cli.Options |
buildOptionsList()
Creates the "master" list of options which the daemon implementation
knows about.
|
static void |
main(java.lang.String[] argv)
Main entry point for the native daemon
|
protected int |
onShutdown(boolean breakFromUser)
Lifecycle method called when the daemon implementation is stopped.
|
protected int |
onStartup(org.apache.commons.cli.CommandLine commandLine)
Lifecycle method called when the daemon implementation is started.
|
controlEvent, logMessage, onOptionsParseError, registerImplementation, start, stoppublic static final int ERR_SCHED_CREATE
public static void main(java.lang.String[] argv)
argv - "Command-line" parametersprotected org.apache.commons.cli.Options buildOptionsList()
BaseDaemonbuildOptionsList in class BaseDaemonprotected int onStartup(org.apache.commons.cli.CommandLine commandLine)
BaseDaemononStartup in class BaseDaemoncommandLine - Parsed params, if present. Otherwise null.BaseDaemon.SUCCESS
indicates success and any other number indicates failureprotected int onShutdown(boolean breakFromUser)
BaseDaemononShutdown in class BaseDaemonbreakFromUser - True if the user sent a Ctrl-CBaseDaemon.SUCCESS
indicates success and any other number indicates an error