This project has retired. For details please refer to its Attic page.
LensServletContextListener (Lens 2.0.1-beta-incubating API)

org.apache.lens.server
Class LensServletContextListener

java.lang.Object
  extended by org.apache.lens.server.LensServletContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class LensServletContextListener
extends Object
implements javax.servlet.ServletContextListener

Initialize the webapp.

See Also:
LensServletContextEvent

Field Summary
static String LOG_PROPERTIES_FILE_KEY
          The Constant LOG_PROPERTIES_FILE_KEY.
 
Constructor Summary
LensServletContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
          * Notification that the servlet context is about to be shut down.
 void contextInitialized(javax.servlet.ServletContextEvent sce)
          * Notification that the web application initialization * process is starting.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_PROPERTIES_FILE_KEY

public static final String LOG_PROPERTIES_FILE_KEY
The Constant LOG_PROPERTIES_FILE_KEY.

See Also:
Constant Field Values
Constructor Detail

LensServletContextListener

public LensServletContextListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
* Notification that the web application initialization * process is starting. * All ServletContextListeners are notified of context * initialization before any filter or servlet in the web * application is initialized.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Parameters:
sce - the sce

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
* Notification that the servlet context is about to be shut down. * All servlets and filters have been destroy()ed before any * ServletContextListeners are notified of context * destruction.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Parameters:
sce - the sce


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.