public class Diet4jDaemon extends Object implements org.apache.commons.daemon.Daemon
| Modifier and Type | Field and Description |
|---|---|
protected File[] |
theModuleDirectories |
protected org.diet4j.core.ModuleRegistry |
theModuleRegistry |
protected org.diet4j.core.Module |
theRootModule |
protected org.diet4j.core.ModuleMeta |
theRootModuleMeta |
protected org.diet4j.core.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 org.diet4j.core.Module theRootModule
protected org.diet4j.core.ModuleMeta theRootModuleMeta
protected org.diet4j.core.ModuleRegistry theModuleRegistry
protected org.diet4j.core.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 org.diet4j.core.ModuleResolutionException,
org.diet4j.core.ModuleNotFoundException,
org.diet4j.core.ModuleActivationException,
ClassNotFoundException,
org.diet4j.core.ModuleRunException,
org.diet4j.core.NoRunMethodException,
InvocationTargetException
start in interface org.apache.commons.daemon.Daemonorg.diet4j.core.ModuleResolutionExceptionorg.diet4j.core.ModuleNotFoundExceptionorg.diet4j.core.ModuleActivationExceptionClassNotFoundExceptionorg.diet4j.core.ModuleRunExceptionorg.diet4j.core.NoRunMethodExceptionInvocationTargetExceptionpublic void stop()
throws org.diet4j.core.ModuleDeactivationException
stop in interface org.apache.commons.daemon.Daemonorg.diet4j.core.ModuleDeactivationExceptionpublic void destroy()
destroy in interface org.apache.commons.daemon.DaemonCopyright © 2017. All rights reserved.