Unverified 提交 49d7c97a authored 作者: jzl's avatar jzl 提交者: GitHub

Update XxlJobScheduler.java

上级 76b2316e
...@@ -33,14 +33,13 @@ import java.util.concurrent.ConcurrentMap; ...@@ -33,14 +33,13 @@ import java.util.concurrent.ConcurrentMap;
/** /**
* @author xuxueli 2018-10-28 00:18:17 * @author xuxueli 2018-10-28 00:18:17
*/ */
@Component
@DependsOn("xxlJobAdminConfig") public class XxlJobScheduler {
public class XxlJobScheduler implements InitializingBean, DisposableBean {
private static final Logger logger = LoggerFactory.getLogger(XxlJobScheduler.class); private static final Logger logger = LoggerFactory.getLogger(XxlJobScheduler.class);
@Override
public void afterPropertiesSet() throws Exception { public void init() throws Exception {
// init i18n // init i18n
initI18n(); initI18n();
...@@ -59,7 +58,7 @@ public class XxlJobScheduler implements InitializingBean, DisposableBean { ...@@ -59,7 +58,7 @@ public class XxlJobScheduler implements InitializingBean, DisposableBean {
logger.info(">>>>>>>>> init xxl-job admin success."); logger.info(">>>>>>>>> init xxl-job admin success.");
} }
@Override
public void destroy() throws Exception { public void destroy() throws Exception {
// stop-schedule // stop-schedule
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论