Package org.hotswap.agent.plugin.spring
Class ResetSpringStaticCaches
- java.lang.Object
-
- org.hotswap.agent.plugin.spring.ResetSpringStaticCaches
-
public class ResetSpringStaticCaches extends java.lang.ObjectReset various Spring static caches. It is safe to run multiple times, basically every time any configuration is changed.- Author:
- Jiri Bubnik
-
-
Constructor Summary
Constructors Constructor Description ResetSpringStaticCaches()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidreset()Reset all caches.static voidresetBeanNamesByType(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory)Spring bean by type cache.
-
-
-
Method Detail
-
resetBeanNamesByType
public static void resetBeanNamesByType(org.springframework.beans.factory.support.DefaultListableBeanFactory defaultListableBeanFactory)
Spring bean by type cache. Cache names change between versions, call via reflection and ignore errors.
-
reset
public static void reset()
Reset all caches.
-
-