|
|
@ -7,8 +7,8 @@ import com.xxl.job.admin.dao.XxlJobRegistryDao; |
|
|
|
import com.xxl.job.core.biz.AdminBiz; |
|
|
|
import com.xxl.job.core.biz.AdminBiz; |
|
|
|
import org.springframework.beans.factory.InitializingBean; |
|
|
|
import org.springframework.beans.factory.InitializingBean; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.beans.factory.annotation.Value; |
|
|
|
import org.springframework.context.annotation.Configuration; |
|
|
|
|
|
|
|
import org.springframework.mail.javamail.JavaMailSender; |
|
|
|
import org.springframework.mail.javamail.JavaMailSender; |
|
|
|
|
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.sql.DataSource; |
|
|
|
import javax.sql.DataSource; |
|
|
@ -18,7 +18,7 @@ import javax.sql.DataSource; |
|
|
|
* |
|
|
|
* |
|
|
|
* @author xuxueli 2017-04-28 |
|
|
|
* @author xuxueli 2017-04-28 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Configuration |
|
|
|
@Component |
|
|
|
public class XxlJobAdminConfig implements InitializingBean{ |
|
|
|
public class XxlJobAdminConfig implements InitializingBean{ |
|
|
|
private static XxlJobAdminConfig adminConfig = null; |
|
|
|
private static XxlJobAdminConfig adminConfig = null; |
|
|
|
public static XxlJobAdminConfig getAdminConfig() { |
|
|
|
public static XxlJobAdminConfig getAdminConfig() { |
|
|
|