Daemon, java.lang.RunnableDefaultDaemonpublic class AbstractDaemon extends java.lang.Object implements Daemon, java.lang.Runnable
Created: 2017. 12. 11.
| Constructor | Description |
|---|---|
AbstractDaemon() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
destroy() |
|
CommandPoller |
getCommandPoller() |
|
CommandRegistry |
getCommandRegistry() |
|
java.lang.String |
getName() |
|
DaemonService |
getService() |
|
protected void |
init(AspectranConfig aspectranConfig) |
|
protected void |
init(java.io.File aspectranConfigFile) |
|
boolean |
isActive() |
|
void |
run() |
|
void |
setName(java.lang.String name) |
|
protected void |
start() |
|
protected void |
start(boolean wait) |
|
void |
stop() |
public DaemonService getService()
getService in interface Daemonpublic CommandPoller getCommandPoller()
getCommandPoller in interface Daemonpublic CommandRegistry getCommandRegistry()
getCommandRegistry in interface Daemonprotected void init(java.io.File aspectranConfigFile)
throws java.lang.Exception
java.lang.Exceptionprotected void init(AspectranConfig aspectranConfig) throws java.lang.Exception
java.lang.Exceptionprotected void start()
throws java.lang.Exception
java.lang.Exceptionprotected void start(boolean wait)
throws java.lang.Exception
java.lang.Exceptionpublic void run()
run in interface java.lang.Runnableprotected void destroy()
Copyright © 2008–2018 The Aspectran Project. All rights reserved.