proxyBeanMethods = false

This commit is contained in:
thinkgem
2020-12-07 16:24:25 +08:00
parent ba55da3e71
commit a98b928c3f
5 changed files with 7 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ import com.jeesite.common.shiro.web.WebSecurityManager;
* @version 2018-7-11 * @version 2018-7-11
*/ */
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@Configuration @Configuration(proxyBeanMethods = false)
public class ShiroConfig { public class ShiroConfig {
/** /**

View File

@@ -17,7 +17,7 @@ import com.alibaba.druid.support.http.WebStatFilter;
* @author ThinkGem * @author ThinkGem
* @version 2017年11月30日 * @version 2017年11月30日
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(name="state.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnProperty(name="state.enabled", havingValue="true", matchIfMissing=true)
public class DruidStatConfig { public class DruidStatConfig {

View File

@@ -25,7 +25,7 @@ import org.springframework.core.Ordered;
* @author ThinkGem * @author ThinkGem
* @version 2020年1月21日 * @version 2020年1月21日
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@ConditionalOnProperty(name="server.schemeHttps", havingValue="true", matchIfMissing=false) @ConditionalOnProperty(name="server.schemeHttps", havingValue="true", matchIfMissing=false)
public class SchemeHttpsConfig { public class SchemeHttpsConfig {

View File

@@ -19,9 +19,9 @@ import com.jeesite.modules.sys.interceptor.LogInterceptor;
* @author ThinkGem * @author ThinkGem
* @version 2018年1月10日 * @version 2018年1月10日
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@EnableWebMvc
@ConditionalOnProperty(name="web.interceptor.log.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnProperty(name="web.interceptor.log.enabled", havingValue="true", matchIfMissing=true)
@EnableWebMvc
public class LogInterceptorConfig implements WebMvcConfigurer { public class LogInterceptorConfig implements WebMvcConfigurer {
@Override @Override

View File

@@ -19,9 +19,9 @@ import com.jeesite.modules.sys.interceptor.MobileInterceptor;
* @author ThinkGem * @author ThinkGem
* @version 2018年1月10日 * @version 2018年1月10日
*/ */
@Configuration @Configuration(proxyBeanMethods = false)
@EnableWebMvc
@ConditionalOnProperty(name="web.interceptor.mobile.enabled", havingValue="true", matchIfMissing=false) @ConditionalOnProperty(name="web.interceptor.mobile.enabled", havingValue="true", matchIfMissing=false)
@EnableWebMvc
public class MobileViewInterceptorConfig implements WebMvcConfigurer { public class MobileViewInterceptorConfig implements WebMvcConfigurer {
@Override @Override