Class SpringChangesAnalyzer


  • public class SpringChangesAnalyzer
    extends java.lang.Object
    Determines if a full Spring reload is needed. Changes to synthetic and known generated classes are ignored. For other classes, changes to method bodies are ignored.
    Author:
    Erki Ehtla
    • Constructor Summary

      Constructors 
      Constructor Description
      SpringChangesAnalyzer​(java.lang.ClassLoader classLoader)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isReloadNeeded​(java.lang.Class<?> classBeingRedefined, byte[] classfileBuffer)  
      protected boolean isSyntheticClass​(java.lang.Class<?> classBeingRedefined)  
      • Methods inherited from class java.lang.Object

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

      • SpringChangesAnalyzer

        public SpringChangesAnalyzer​(java.lang.ClassLoader classLoader)
    • Method Detail

      • isReloadNeeded

        public boolean isReloadNeeded​(java.lang.Class<?> classBeingRedefined,
                                      byte[] classfileBuffer)
      • isSyntheticClass

        protected boolean isSyntheticClass​(java.lang.Class<?> classBeingRedefined)