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