Package org.eclnt.jsfserver.managedbean
Interface IHotDeployListener
- All Known Implementing Classes:
DefaultHotDeployListener
public interface IHotDeployListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onClassLoaderUpdate
(ClassLoader newClassLoader) When a hot deployment is done then the first event that is sent out is this method.void
onClassLoaderUpdateFinished
(ClassLoader newClassLoader) This is the second event: after all listeners were called withonClassLoaderUpdate(ClassLoader)
the listeners are called now with this method.
-
Method Details
-
onClassLoaderUpdate
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
This is the second event: after all listeners were called withonClassLoaderUpdate(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.
-