Package io.hawt
Class HawtioContextListener
- java.lang.Object
-
- io.hawt.HawtioContextListener
-
- All Implemented Interfaces:
EventListener,javax.servlet.ServletContextListener
public class HawtioContextListener extends Object implements javax.servlet.ServletContextListener
AServletContextListenerwhich initialises key hawtio services in the webapp
-
-
Constructor Summary
Constructors Constructor Description HawtioContextListener()HawtioContextListener(ConfigManager configManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)voidcontextInitialized(javax.servlet.ServletContextEvent servletContextEvent)protected RuntimeExceptioncreateServletException(Exception e)
-
-
-
Constructor Detail
-
HawtioContextListener
public HawtioContextListener()
-
HawtioContextListener
public HawtioContextListener(ConfigManager configManager)
-
-
Method Detail
-
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
-
createServletException
protected RuntimeException createServletException(Exception e)
-
-