public class TestDaemon extends BaseDaemon
LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_STATUS, SUCCESS| Constructor and Description | 
|---|
| TestDaemon() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | main(java.lang.String[] argv) | 
| 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. | 
buildOptionsList, controlEvent, logMessage, onOptionsParseError, registerImplementation, start, stopprotected 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 errorprotected 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 failurepublic static void main(java.lang.String[] argv)