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
*/
@SuppressWarnings("deprecation")
@Configuration
@Configuration(proxyBeanMethods = false)
public class ShiroConfig {
/**

View File

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

View File

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

View File

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

View File

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