@IocBean public class XxlJobStarter extends Object implements ServerFace
| 限定符和类型 | 字段和说明 |
|---|---|
protected AppContext |
appContext |
protected org.nutz.ioc.impl.PropertiesProxy |
conf |
protected static String |
PRE |
static String |
PROP_ACCESSTOKEN |
static String |
PROP_ADMIN_ADDRESSES |
static String |
PROP_EXECTOR_IP |
static String |
PROP_EXECTOR_LOGPATH |
static String |
PROP_EXECTOR_NAME |
static String |
PROP_EXECTOR_PORT |
| 构造器和说明 |
|---|
XxlJobStarter() |
@PropDoc(value="\u6267\u884c\u5668\u76d1\u542c\u7684ip", defaultValue="0.0.0.0") public static final String PROP_EXECTOR_IP
@PropDoc(value="\u6267\u884c\u5668\u76d1\u542c\u7684\u7aef\u53e3", defaultValue="8081") public static final String PROP_EXECTOR_PORT
@PropDoc(value="\u6267\u884c\u5668\u76d1\u542c\u7684\u540d\u79f0", defaultValue="xxl-job-executor") public static final String PROP_EXECTOR_NAME
@PropDoc(value="\u7ba1\u7406\u5668\u7684\u5730\u5740", defaultValue="http://127.0.0.1:8080/xxl-job-admin") public static final String PROP_ADMIN_ADDRESSES
@PropDoc(value="\u6267\u884c\u5668\u76d1\u542c\u7684\u540d\u79f0", defaultValue="/var/log/xxl-job/jobhandler/") public static final String PROP_EXECTOR_LOGPATH
@PropDoc(value="\u6267\u884c\u5668\u7684AccessToken", defaultValue="xxl-job-executor") public static final String PROP_ACCESSTOKEN
@Inject protected org.nutz.ioc.impl.PropertiesProxy conf
@Inject protected AppContext appContext
@IocBean(create="start",
depose="destroy")
public com.xxl.job.core.executor.XxlJobExecutor xxlJobExecutor()
public void start()
throws Exception
start 在接口中 ServerFaceExceptionCopyright © 2019. All rights reserved.