Class ResetBeanPostProcessorCaches


  • public class ResetBeanPostProcessorCaches
    extends java.lang.Object
    Spring Bean post processors contain various caches for performance reasons. Clear the caches on reload.
    Author:
    Jiri Bubnik
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void reset​(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
      Reset all post processors associated with a bean factory.
      static void resetAutowiredAnnotationBeanPostProcessorCache​(org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor bpp)  
      static void resetInitDestroyAnnotationBeanPostProcessorCache​(org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor bpp)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResetBeanPostProcessorCaches

        public ResetBeanPostProcessorCaches()
    • Method Detail

      • reset

        public static void reset​(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
        Reset all post processors associated with a bean factory.
        Parameters:
        beanFactory - beanFactory to use
      • resetInitDestroyAnnotationBeanPostProcessorCache

        public static void resetInitDestroyAnnotationBeanPostProcessorCache​(org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor bpp)
      • resetAutowiredAnnotationBeanPostProcessorCache

        public static void resetAutowiredAnnotationBeanPostProcessorCache​(org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor bpp)