From fbcd0ef07a0b4e93e3ccad2702b8a07c6d1f4246 Mon Sep 17 00:00:00 2001 From: han liu Date: Mon, 30 Sep 2024 17:14:04 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Aadd=20interface=20InitializingBean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../refresher/AbstractConfigThreadPoolDynamicRefresh.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/starters/threadpool/config/src/main/java/cn/hippo4j/config/springboot/starter/refresher/AbstractConfigThreadPoolDynamicRefresh.java b/starters/threadpool/config/src/main/java/cn/hippo4j/config/springboot/starter/refresher/AbstractConfigThreadPoolDynamicRefresh.java index b956d617..f310bc50 100644 --- a/starters/threadpool/config/src/main/java/cn/hippo4j/config/springboot/starter/refresher/AbstractConfigThreadPoolDynamicRefresh.java +++ b/starters/threadpool/config/src/main/java/cn/hippo4j/config/springboot/starter/refresher/AbstractConfigThreadPoolDynamicRefresh.java @@ -29,6 +29,7 @@ import cn.hippo4j.threadpool.dynamic.mode.config.refresher.BootstrapConfigProper import lombok.extern.slf4j.Slf4j; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; +import org.springframework.beans.factory.InitializingBean; import java.util.HashMap; import java.util.Map; @@ -75,6 +76,7 @@ public abstract class AbstractConfigThreadPoolDynamicRefresh implements ThreadPo ApplicationContextHolder.getInstance().publishEvent(new ThreadPoolConfigDynamicRefreshEvent(this, configProperties)); } + @Override public void run(ApplicationArguments args) { try {