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 Summary
-
Method Summary
-
Constructor Details
-
AbstractDaemon
public AbstractDaemon()
-
-
Method Details
-
getName
-
setName
-
getBasePath
- Specified by:
getBasePath
in interfaceDaemon
-
getDaemonService
- Specified by:
getDaemonService
in interfaceDaemon
-
getCommandExecutor
- Specified by:
getCommandExecutor
in interfaceDaemon
-
getFileCommander
- Specified by:
getFileCommander
in interfaceDaemon
-
getCommandRegistry
- Specified by:
getCommandRegistry
in interfaceDaemon
-
isWait
public boolean isWait() -
isActive
public boolean isActive() -
init
- Throws:
Exception
-
init
protected void init(@Nullable String basePath, @NonNull AspectranConfig aspectranConfig) throws Exception - Throws:
Exception
-
start
- Throws:
Exception
-
start
- Throws:
Exception
-
start
- Throws:
Exception
-
stop
public void stop() -
destroy
public void destroy()
-