Class DefaultHotDeployListener

java.lang.Object
org.eclnt.jsfserver.managedbean.DefaultHotDeployListener
All Implemented Interfaces:
IHotDeployListener

public class DefaultHotDeployListener extends Object implements IHotDeployListener
  • Constructor Details

    • DefaultHotDeployListener

      public DefaultHotDeployListener()
  • Method Details

    • onClassLoaderUpdate

      public void onClassLoaderUpdate(ClassLoader newClassLoader)
      Description copied from interface: IHotDeployListener
      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!
      Specified by:
      onClassLoaderUpdate in interface IHotDeployListener
    • onClassLoaderUpdateFinished

      public void onClassLoaderUpdateFinished(ClassLoader newClassLoader)
      Description copied from interface: IHotDeployListener
      This is the second event: after all listeners were called with IHotDeployListener.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.
      Specified by:
      onClassLoaderUpdateFinished in interface IHotDeployListener