public class HWIContextListener extends Object implements javax.servlet.ServletContextListener
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
l4j |
Constructor and Description |
---|
HWIContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
When the Hive Web Interface is closing we locate the Runnable
HiveSessionManager and set it's internal goOn variable to false.
|
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
The Hive Web Interface manages multiple hive sessions.
|
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
sce
- An event fired by the servlet context on startuppublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
sce
- An event fired by the servlet context on context shutdownCopyright © 2017 The Apache Software Foundation. All rights reserved.