public abstract class DaemonController
extends java.lang.Object
exec(String[])
method on it, passing the command line arguments.| Modifier and Type | Class and Description |
|---|---|
static class |
DaemonController.Options
Command line options handling class.
|
| Constructor and Description |
|---|
DaemonController() |
| Modifier and Type | Method and Description |
|---|---|
void |
exec(java.lang.String[] args)
Carry out the command described by the command-line arguments.
|
abstract java.lang.Class<? extends IDaemon> |
getDaemonClass()
Get the daemon class (representing the daemon task to
be started or stopped).
|
abstract java.lang.String |
getDefaultInstanceName()
Get the default instance name.
|
public void exec(java.lang.String[] args)
args - the command-line argumentspublic abstract java.lang.String getDefaultInstanceName()
public abstract java.lang.Class<? extends IDaemon> getDaemonClass()