Package org.zeroturnaround.javarebel
Interface RebelServletContainerInitializer
-
public interface RebelServletContainerInitializerServlet container initializer visible to JRebel. This interface allows JRebel integration withjavax.servlet.ServletContainerInitializerintroduced in Servlet API 3.0. Framework integration should mark ServletContainerInitializer implementation withRebelServletContainerInitializerinterface and implement custom reloading logic inonReload(java.util.Set, RebelServletContext)method. Servlet container integration should track all marked with RebelServletContainerInitializer initializers and rerun them if any class change was detected. Tracks only classes which match any of the criteria specified by thejavax.servlet.annotation.HandlesTypesannotations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonReload(Set<Class<?>> c, RebelServletContext ctx)This method should be called by Servlet container integration if any changes were detected.
-
-
-
Method Detail
-
onReload
void onReload(Set<Class<?>> c, RebelServletContext ctx)
This method should be called by Servlet container integration if any changes were detected.
-
-