Package com.aspectran.daemon
Class SimpleDaemon
- java.lang.Object
-
- com.aspectran.daemon.AbstractDaemon
-
- com.aspectran.daemon.SimpleDaemon
-
- All Implemented Interfaces:
Daemon
public class SimpleDaemon extends AbstractDaemon
SimpleDaemon does not run Aspectran Service internally, so only shell commands are available.Created: 2019. 01. 22.
- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description SimpleDaemon(java.lang.String basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBasePath()voidinit(com.aspectran.core.context.config.DaemonConfig daemonConfig)voidstart()voidstart(boolean wait)voidstart(long wait)-
Methods inherited from class com.aspectran.daemon.AbstractDaemon
destroy, getCommandPoller, getCommandRegistry, getName, getService, init, init, isActive, isWait, setName, stop
-
-
-
-
Method Detail
-
getBasePath
public java.lang.String getBasePath()
- Specified by:
getBasePathin interfaceDaemon- Overrides:
getBasePathin classAbstractDaemon
-
init
public void init(com.aspectran.core.context.config.DaemonConfig daemonConfig) throws java.lang.Exception- Overrides:
initin classAbstractDaemon- Throws:
java.lang.Exception
-
start
public void start() throws java.lang.Exception- Overrides:
startin classAbstractDaemon- Throws:
java.lang.Exception
-
start
public void start(boolean wait) throws java.lang.Exception- Overrides:
startin classAbstractDaemon- Throws:
java.lang.Exception
-
start
public void start(long wait) throws java.lang.Exception- Overrides:
startin classAbstractDaemon- Throws:
java.lang.Exception
-
-