diff --git a/pom.xml b/pom.xml index 6a7d0b43..9f6af260 100644 --- a/pom.xml +++ b/pom.xml @@ -31,7 +31,7 @@ 5.3.3 2.4.2 - 1.4.5 + 1.4.9 2.1.4 8.0.23 diff --git a/xxl-job-executor-samples/xxl-job-executor-sample-solon/pom.xml b/xxl-job-executor-samples/xxl-job-executor-sample-solon/pom.xml index 54bcb1fb..f8cce7e5 100644 --- a/xxl-job-executor-samples/xxl-job-executor-sample-solon/pom.xml +++ b/xxl-job-executor-samples/xxl-job-executor-sample-solon/pom.xml @@ -15,22 +15,6 @@ Example executor project for spring boot. https://www.xuxueli.com/ - - - - - - - - org.springframework.boot - spring-boot-starter-parent - ${spring-boot.version} - pom - import - - - - org.noear diff --git a/xxl-job-solon-plugin/src/main/java/com/xxl/job/solon/XPluginImp.java b/xxl-job-solon-plugin/src/main/java/com/xxl/job/solon/XPluginImp.java index dfeddb0e..388b4000 100644 --- a/xxl-job-solon-plugin/src/main/java/com/xxl/job/solon/XPluginImp.java +++ b/xxl-job-solon-plugin/src/main/java/com/xxl/job/solon/XPluginImp.java @@ -4,10 +4,7 @@ import com.xxl.job.core.executor.XxlJobExecutor; import com.xxl.job.core.handler.annotation.XxlJob; import org.noear.solon.SolonApp; import org.noear.solon.cloud.CloudManager; -import org.noear.solon.cloud.annotation.CloudJob; import com.xxl.job.solon.service.CloudJobServiceImpl; -import org.noear.solon.cloud.impl.CloudJobBuilder; -import org.noear.solon.cloud.impl.CloudJobExtractor; import org.noear.solon.core.Aop; import org.noear.solon.core.Plugin; @@ -22,14 +19,13 @@ public class XPluginImp implements Plugin { return; } - //register Job Service + //注册Job服务 CloudManager.register(CloudJobServiceImpl.instance); - //add extractor for bean method + //注册构建器和提取器 Aop.context().beanExtractorAdd(XxlJob.class, new XxlJobExtractor()); - Aop.context().beanExtractorAdd(CloudJob.class, new CloudJobExtractor()); - Aop.context().beanBuilderAdd(CloudJob.class,new CloudJobBuilder()); + //构建自动配置 Aop.context().beanMake(XxlJobAutoConfig.class); Aop.beanOnloaded(() -> {