mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 12:19:16 +00:00
MergedBeanDefinitionPostProcessors clear internal caches on bean reset
Issue: SPR-17126
This commit is contained in:
+5
@@ -334,6 +334,11 @@ public class PersistenceAnnotationBeanPostProcessor
|
||||
metadata.checkConfigMembers(beanDefinition);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void resetBeanDefinition(String beanName) {
|
||||
this.injectionMetadataCache.remove(beanName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user