DATACMNS-412 - Fixed potential classloader leak.
Turned the static cache of RepositoryInformations in RepositoryFactorySupport into a non-static one to avoid the instance from potentially surviving redeployments in web app scenarios.
This commit is contained in:
@@ -52,7 +52,7 @@ import org.springframework.util.ObjectUtils;
|
|||||||
*/
|
*/
|
||||||
public abstract class RepositoryFactorySupport implements BeanClassLoaderAware {
|
public abstract class RepositoryFactorySupport implements BeanClassLoaderAware {
|
||||||
|
|
||||||
private static final Map<RepositoryInformationCacheKey, RepositoryInformation> REPOSITORY_INFORMATION_CACHE = new HashMap<RepositoryInformationCacheKey, RepositoryInformation>();
|
private final Map<RepositoryInformationCacheKey, RepositoryInformation> REPOSITORY_INFORMATION_CACHE = new HashMap<RepositoryInformationCacheKey, RepositoryInformation>();
|
||||||
|
|
||||||
private final List<RepositoryProxyPostProcessor> postProcessors = new ArrayList<RepositoryProxyPostProcessor>();
|
private final List<RepositoryProxyPostProcessor> postProcessors = new ArrayList<RepositoryProxyPostProcessor>();
|
||||||
private QueryLookupStrategy.Key queryLookupStrategyKey;
|
private QueryLookupStrategy.Key queryLookupStrategyKey;
|
||||||
|
|||||||
Reference in New Issue
Block a user