Update configuration classes to use proxyBeanMethods=false
Resolves: #1345
This commit is contained in:
@@ -91,7 +91,7 @@ import org.springframework.util.ObjectUtils;
|
|||||||
*
|
*
|
||||||
* @see EnableSpringHttpSession
|
* @see EnableSpringHttpSession
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class SpringHttpSessionConfiguration implements ApplicationContextAware {
|
public class SpringHttpSessionConfiguration implements ApplicationContextAware {
|
||||||
|
|
||||||
private final Log logger = LogFactory.getLog(getClass());
|
private final Log logger = LogFactory.getLog(getClass());
|
||||||
|
|||||||
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
* @see EnableSpringWebSession
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class SpringWebSessionConfiguration {
|
public class SpringWebSessionConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ import org.springframework.util.StringValueResolver;
|
|||||||
* @see EnableRedisHttpSession
|
* @see EnableRedisHttpSession
|
||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
public class RedisHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
public class RedisHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
||||||
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,
|
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,
|
||||||
|
|||||||
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
* @see EnableRedisWebSession
|
||||||
* @since 2.0.0
|
* @since 2.0.0
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class RedisWebSessionConfiguration extends SpringWebSessionConfiguration
|
public class RedisWebSessionConfiguration extends SpringWebSessionConfiguration
|
||||||
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware {
|
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware {
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
* @since 1.1
|
||||||
* @see EnableHazelcastHttpSession
|
* @see EnableHazelcastHttpSession
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
public class HazelcastHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
public class HazelcastHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
||||||
implements ImportAware {
|
implements ImportAware {
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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
|
* @since 1.2.0
|
||||||
* @see EnableJdbcHttpSession
|
* @see EnableJdbcHttpSession
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration(proxyBeanMethods = false)
|
||||||
@EnableScheduling
|
@EnableScheduling
|
||||||
public class JdbcHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
public class JdbcHttpSessionConfiguration extends SpringHttpSessionConfiguration
|
||||||
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,
|
implements BeanClassLoaderAware, EmbeddedValueResolverAware, ImportAware,
|
||||||
|
|||||||
Reference in New Issue
Block a user