voldemort.server.http
Class VoldemortServletContextListener

java.lang.Object
  extended by voldemort.server.http.VoldemortServletContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class VoldemortServletContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

A helper class that loads the Voldemort server by bootstrapping from the VOLDEMORT_HOME environment variable.


Field Summary
static java.lang.String SERVER_CONFIG_KEY
           
static java.lang.String SERVER_KEY
           
static java.lang.String VELOCITY_ENGINE_KEY
           
static java.lang.String VOLDEMORT_TEMPLATE_DIR
           
 
Constructor Summary
VoldemortServletContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOLDEMORT_TEMPLATE_DIR

public static final java.lang.String VOLDEMORT_TEMPLATE_DIR
See Also:
Constant Field Values

SERVER_KEY

public static final java.lang.String SERVER_KEY
See Also:
Constant Field Values

SERVER_CONFIG_KEY

public static final java.lang.String SERVER_CONFIG_KEY
See Also:
Constant Field Values

VELOCITY_ENGINE_KEY

public static final java.lang.String VELOCITY_ENGINE_KEY
See Also:
Constant Field Values
Constructor Detail

VoldemortServletContextListener

public VoldemortServletContextListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu