Class 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 Detail

      • BambooBeansWrapperListener

        public BambooBeansWrapperListener()
    • Method Detail

      • 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.