From 5e1de454a7d718e44028c1d67876fa209b6d7761 Mon Sep 17 00:00:00 2001 From: Guoqs Date: Sat, 20 Apr 2024 17:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hainan/service/HaiNanPlatformServiceImpl.java | 9 --------- .../qinghai/service/QingHaiPlatformServiceImpl.java | 11 ----------- .../service/ZhongDianLianPlatformServiceImpl.java | 9 --------- 3 files changed, 29 deletions(-) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformServiceImpl.java index c0cb120d3..59f526988 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformServiceImpl.java @@ -110,15 +110,6 @@ public class HaiNanPlatformServiceImpl implements ThirdPartyPlatformService { @Autowired private ZDLService zdlService; - /** - * Invoked by the containing {@code BeanFactory} after it has set all bean properties - * and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc. - *

This method allows the bean instance to perform validation of its overall - * configuration and final initialization when all bean properties have been set. - * - * @throws Exception in the event of misconfiguration (such as failure to set an - * essential property) or if initialization fails for any other reason - */ @Override public void afterPropertiesSet() throws Exception { ThirdPartyPlatformFactory.register(thirdPlatformType, this); diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/qinghai/service/QingHaiPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/qinghai/service/QingHaiPlatformServiceImpl.java index 923e5d6f7..62063bef8 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/qinghai/service/QingHaiPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/qinghai/service/QingHaiPlatformServiceImpl.java @@ -42,7 +42,6 @@ import com.jsowell.thirdparty.platform.util.HttpRequestUtil; import org.apache.commons.collections4.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.BeanFactoryAware; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; @@ -91,16 +90,6 @@ public class QingHaiPlatformServiceImpl implements ThirdPartyPlatformService { // 平台类型 private final String thirdPlatformType = ThirdPlatformTypeEnum.QING_HAI_PLATFORM.getTypeCode(); - - /** - * Invoked by the containing {@code BeanFactory} after it has set all bean properties - * and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc. - *

This method allows the bean instance to perform validation of its overall - * configuration and final initialization when all bean properties have been set. - * - * @throws Exception in the event of misconfiguration (such as failure to set an - * essential property) or if initialization fails for any other reason - */ @Override public void afterPropertiesSet() throws Exception { ThirdPartyPlatformFactory.register(thirdPlatformType, this); diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/zhongdianlian/service/ZhongDianLianPlatformServiceImpl.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/zhongdianlian/service/ZhongDianLianPlatformServiceImpl.java index 2558376ef..3be752990 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/zhongdianlian/service/ZhongDianLianPlatformServiceImpl.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/zhongdianlian/service/ZhongDianLianPlatformServiceImpl.java @@ -29,15 +29,6 @@ public class ZhongDianLianPlatformServiceImpl implements ThirdPartyPlatformServi @Autowired private ThirdpartySecretInfoService thirdpartySecretInfoService; - /** - * Invoked by the containing {@code BeanFactory} after it has set all bean properties - * and satisfied {@link BeanFactoryAware}, {@code ApplicationContextAware} etc. - *

This method allows the bean instance to perform validation of its overall - * configuration and final initialization when all bean properties have been set. - * - * @throws Exception in the event of misconfiguration (such as failure to set an - * essential property) or if initialization fails for any other reason - */ @Override public void afterPropertiesSet() throws Exception { ThirdPartyPlatformFactory.register(thirdPlatformType, this);