Package org.uberfire.backend.server
Class WebAppListener
- java.lang.Object
-
- org.uberfire.backend.server.WebAppListener
-
- All Implemented Interfaces:
EventListener,javax.servlet.ServletContextListener
@WebListener public class WebAppListener extends Object implements javax.servlet.ServletContextListener
It captures the webapp startup/destroy events and notifies the interested parties.
-
-
Constructor Summary
Constructors Constructor Description WebAppListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)voidcontextInitialized(javax.servlet.ServletContextEvent servletContextEvent)static voidregisterOnDestroyCommand(org.uberfire.mvp.Command command)static voidregisterOnStartupCommand(org.uberfire.mvp.Command command)
-
-
-
Method Detail
-
registerOnStartupCommand
public static void registerOnStartupCommand(org.uberfire.mvp.Command command)
-
registerOnDestroyCommand
public static void registerOnDestroyCommand(org.uberfire.mvp.Command command)
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
-