Package org.eclnt.jsfserver.managedbean
Class DefaultHotDeployListener
java.lang.Object
org.eclnt.jsfserver.managedbean.DefaultHotDeployListener
- All Implemented Interfaces:
IHotDeployListener
-
Constructor Summary
-
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 withIHotDeployListener.onClassLoaderUpdate(ClassLoader)
the listeners are called now with this method.
-
Constructor Details
-
DefaultHotDeployListener
public DefaultHotDeployListener()
-
-
Method Details
-
onClassLoaderUpdate
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 interfaceIHotDeployListener
-
onClassLoaderUpdateFinished
Description copied from interface:IHotDeployListener
This is the second event: after all listeners were called withIHotDeployListener.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 interfaceIHotDeployListener
-