public class Diet4jDaemon extends Object implements org.apache.commons.daemon.Daemon
| Modifier and Type | Field and Description | 
|---|---|
protected File[] | 
theModuleDirectories  | 
protected ModuleRegistry | 
theModuleRegistry  | 
protected Module | 
theRootModule  | 
protected ModuleMeta | 
theRootModuleMeta  | 
protected ModuleRequirement | 
theRootModuleRequirement  | 
protected String[] | 
theRunArguments  | 
protected String | 
theRunClassName  | 
protected String | 
theRunMethodName  | 
| Constructor and Description | 
|---|
Diet4jDaemon()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
destroy()  | 
void | 
init(org.apache.commons.daemon.DaemonContext dc)  | 
void | 
start()  | 
void | 
stop()  | 
protected Module theRootModule
protected ModuleMeta theRootModuleMeta
protected ModuleRegistry theModuleRegistry
protected ModuleRequirement theRootModuleRequirement
protected String[] theRunArguments
protected File[] theModuleDirectories
protected String theRunClassName
protected String theRunMethodName
public void init(org.apache.commons.daemon.DaemonContext dc)
          throws org.apache.commons.daemon.DaemonInitException
init in interface org.apache.commons.daemon.Daemonorg.apache.commons.daemon.DaemonInitExceptionpublic void start()
           throws ModuleResolutionException,
                  ModuleNotFoundException,
                  ModuleActivationException,
                  ClassNotFoundException,
                  ModuleRunException,
                  NoRunMethodException,
                  InvocationTargetException
start in interface org.apache.commons.daemon.DaemonModuleResolutionExceptionModuleNotFoundExceptionModuleActivationExceptionClassNotFoundExceptionModuleRunExceptionNoRunMethodExceptionInvocationTargetExceptionpublic void stop()
          throws ModuleDeactivationException
stop in interface org.apache.commons.daemon.DaemonModuleDeactivationExceptionpublic void destroy()
destroy in interface org.apache.commons.daemon.DaemonCopyright © 2018. All rights reserved.