Package com.aspectran.daemon
Class AbstractDaemon
java.lang.Object
com.aspectran.daemon.AbstractDaemon
- All Implemented Interfaces:
Daemon
- Direct Known Subclasses:
DefaultDaemon,SimpleDaemon
The Abstract Daemon.
Created: 2017. 12. 11.
- Since:
- 5.1.0
-
Constructor Details
-
AbstractDaemon
public AbstractDaemon()
-
-
Method Details
-
getName
-
setName
-
getBasePath
- Specified by:
getBasePathin interfaceDaemon
-
getDaemonService
- Specified by:
getDaemonServicein interfaceDaemon
-
getCommandExecutor
- Specified by:
getCommandExecutorin interfaceDaemon
-
getFileCommander
- Specified by:
getFileCommanderin interfaceDaemon
-
getCommandRegistry
- Specified by:
getCommandRegistryin interfaceDaemon
-
isWaiting
public boolean isWaiting() -
isActive
public boolean isActive() -
prepare
protected void prepare(@Nullable String basePath, @Nullable File aspectranConfigFile) throws Exception - Throws:
Exception
-
prepare
protected void prepare(@Nullable String basePath, @NonNull com.aspectran.core.context.config.AspectranConfig aspectranConfig) throws Exception - Throws:
Exception
-
start
- Throws:
Exception
-
start
- Throws:
Exception
-
start
- Throws:
Exception
-
stop
public void stop() -
destroy
public void destroy()
-