Interface IHotDeployListener

All Known Implementing Classes:
DefaultHotDeployListener

public interface IHotDeployListener
  • Method Details

    • onClassLoaderUpdate

      void onClassLoaderUpdate(ClassLoader newClassLoader)
      When a hot deployment is done then the first event that is sent out is this method. Reactors should internally prepare to update internally with the new class loader but not immediately so do! Reason: there might be sequence-dependencies between reactors!
    • onClassLoaderUpdateFinished

      void onClassLoaderUpdateFinished(ClassLoader newClassLoader)
      This is the second event: after all listeners were called with onClassLoaderUpdate(ClassLoader) the listeners are called now with this method. They may use this method to immediately re-initialize. Listeners do not have to implement this method but can leave it empty! In most cases the initialization is executed by lazy initialization.