Update configuration classes to use proxyBeanMethods=false

Resolves: #1345
This commit is contained in:
Vedran Pavic
2019-05-09 18:10:57 +02:00
parent eb0f89a18a
commit b98c5216b4
6 changed files with 10 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ import org.springframework.util.ObjectUtils;
*
* @see EnableSpringHttpSession
*/
@Configuration
@Configuration(proxyBeanMethods = false)
public class SpringHttpSessionConfiguration implements ApplicationContextAware {
private final Log logger = LogFactory.getLog(getClass());

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ import org.springframework.web.server.session.WebSessionManager;
*
* @see EnableSpringWebSession
*/
@Configuration
@Configuration(proxyBeanMethods = false)
public class SpringWebSessionConfiguration {
/**

View File

@@ -72,7 +72,7 @@ import org.springframework.util.StringValueResolver;
* @see EnableRedisHttpSession
* @since 1.0
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@EnableScheduling
public class RedisHttpSessionConfiguration extends SpringHttpSessionConfiguration
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ import org.springframework.web.server.session.WebSessionManager;
* @see EnableRedisWebSession
* @since 2.0.0
*/
@Configuration
@Configuration(proxyBeanMethods = false)
public class RedisWebSessionConfiguration extends SpringWebSessionConfiguration
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2017 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@ import org.springframework.util.StringUtils;
* @since 1.1
* @see EnableHazelcastHttpSession
*/
@Configuration
@Configuration(proxyBeanMethods = false)
public class HazelcastHttpSessionConfiguration extends SpringHttpSessionConfiguration
implements ImportAware {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2018 the original author or authors.
* Copyright 2014-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -64,7 +64,7 @@ import org.springframework.util.StringValueResolver;
* @since 1.2.0
* @see EnableJdbcHttpSession
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@EnableScheduling
public class JdbcHttpSessionConfiguration extends SpringHttpSessionConfiguration
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,