Class BambooBeansWrapperListener

java.lang.Object
com.atlassian.bamboo.ww2.BambooBeansWrapperListener
All Implemented Interfaces:
freemarker.ext.beans.BeansWrapperListener

@Internal public class BambooBeansWrapperListener extends Object implements freemarker.ext.beans.BeansWrapperListener
Listens for the creation of BeansWrappers and clears the contained class caches when reset() is called. Used for Plugin reloading
  • Constructor Details

    • BambooBeansWrapperListener

      public BambooBeansWrapperListener()
  • Method Details

    • onCreate

      public void onCreate(freemarker.ext.beans.BeansWrapper beansWrapper)
      Specified by:
      onCreate in interface freemarker.ext.beans.BeansWrapperListener
    • reset

      public void reset()
      Clears the class caches of all BeansWrapper instances.