From 8377bc1792c76afddf064a01601bcee22d92bf6c Mon Sep 17 00:00:00 2001 From: noear Date: Mon, 4 Sep 2023 11:26:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91solon=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E4=B8=BA=202.5.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yomahub/liteflow/solon/integration/XPluginImpl.java | 6 +++--- .../services/com.yomahub.liteflow.spi.CmpAroundAspect | 2 +- .../META-INF/services/com.yomahub.liteflow.spi.ContextAware | 2 +- .../services/com.yomahub.liteflow.spi.ContextCmpInit | 2 +- .../com.yomahub.liteflow.spi.LiteflowComponentSupport | 2 +- .../services/com.yomahub.liteflow.spi.PathContentParser | 2 +- pom.xml | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java b/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java index 55d494ff..0fbc1dfa 100644 --- a/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java +++ b/liteflow-solon-plugin/src/main/java/com/yomahub/liteflow/solon/integration/XPluginImpl.java @@ -10,7 +10,7 @@ import com.yomahub.liteflow.solon.config.LiteflowMainAutoConfiguration; import com.yomahub.liteflow.solon.config.LiteflowMonitorProperty; import com.yomahub.liteflow.solon.config.LiteflowProperty; import org.noear.solon.Utils; -import org.noear.solon.core.AopContext; +import org.noear.solon.core.AppContext; import org.noear.solon.core.Plugin; import java.util.Properties; @@ -22,7 +22,7 @@ import java.util.Properties; public class XPluginImpl implements Plugin { @Override - public void start(AopContext context) { + public void start(AppContext context) { // 加载默认配置 Properties defProps = Utils.loadProperties("META-INF/liteflow-default.properties"); if (defProps != null && defProps.size() > 0) { @@ -92,7 +92,7 @@ public class XPluginImpl implements Plugin { FlowBus.addManagedNode(nodeId, node1); } else { - context.beanExtract(bw); // 尝试提取 LiteflowMethod 函数 + context.beanExtractOrProxy(bw); // 尝试提取 LiteflowMethod 函数,并支持自动代理 } }); } diff --git a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.CmpAroundAspect b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.CmpAroundAspect index 61966fd1..d8e06228 100644 --- a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.CmpAroundAspect +++ b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.CmpAroundAspect @@ -1,2 +1,2 @@ -# Spring 的实现 +# Solon 的实现 com.yomahub.liteflow.spi.solon.SolonCmpAroundAspect \ No newline at end of file diff --git a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextAware b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextAware index 422f9870..a87365d5 100644 --- a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextAware +++ b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextAware @@ -1,2 +1,2 @@ -# Spring 的实现 +# Solon 的实现 com.yomahub.liteflow.spi.solon.SolonContextAware \ No newline at end of file diff --git a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextCmpInit b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextCmpInit index d757b065..44f0bc0e 100644 --- a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextCmpInit +++ b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.ContextCmpInit @@ -1,2 +1,2 @@ -# Spring 的实现 +# Solon 的实现 com.yomahub.liteflow.spi.solon.SolonContextCmpInit \ No newline at end of file diff --git a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.LiteflowComponentSupport b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.LiteflowComponentSupport index c5b3f660..42071ef5 100644 --- a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.LiteflowComponentSupport +++ b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.LiteflowComponentSupport @@ -1,2 +1,2 @@ -# Spring 的实现 +# Solon 的实现 com.yomahub.liteflow.spi.solon.SolonLiteflowComponentSupport \ No newline at end of file diff --git a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.PathContentParser b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.PathContentParser index 691eeb9c..5cb4048b 100644 --- a/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.PathContentParser +++ b/liteflow-solon-plugin/src/main/resources/META-INF/services/com.yomahub.liteflow.spi.PathContentParser @@ -1,2 +1,2 @@ -# Spring 的实现 +# Solon 的实现 com.yomahub.liteflow.spi.solon.SolonPathContentParser \ No newline at end of file diff --git a/pom.xml b/pom.xml index 3c877f57..b17900eb 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ 1.12.23 1.8.13 1.2.3 - 2.3.8 + 2.5.3 4.1.84.Final 31.1-jre 4.5.13