Update XxlJobAdminConfig.java

2.1.2
jzl 5 years ago committed by GitHub
parent 80333db80e
commit 76b2316e17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,16 +18,15 @@ import javax.sql.DataSource;
*
* @author xuxueli 2017-04-28
*/
@Component
public class XxlJobAdminConfig implements InitializingBean{
public class XxlJobAdminConfig {
private static XxlJobAdminConfig adminConfig = null;
public static XxlJobAdminConfig getAdminConfig() {
return adminConfig;
}
@Override
public void afterPropertiesSet() throws Exception {
adminConfig = this;
public static void setAdminConfig(XxlJobAdminConfig config) {
XxlJobAdminConfig.adminConfig = config;
}
// conf

Loading…
Cancel
Save