com.elasticpath.sfweb.context.impl
Class EpContextConfigListener

java.lang.Object
  extended by com.elasticpath.web.context.impl.EpContextConfigListener
      extended by com.elasticpath.sfweb.context.impl.EpContextConfigListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class EpContextConfigListener
extends EpContextConfigListener

Bootstrap listener to set up various context config after the springframework context has been loaded.

This listener should be registered after ContextLoaderListener in web.xml.

For Servlet 2.2 containers and Servlet 2.3 ones that do not initalize listeners before servlets, use ContextLoaderServlet. See the latter's Javadoc for details.


Constructor Summary
EpContextConfigListener()
           
 
Method Summary
 void contextInitialized(javax.servlet.ServletContextEvent event)
          Complete the context initialization for ElasticPath.
 
Methods inherited from class com.elasticpath.web.context.impl.EpContextConfigListener
contextDestroyed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpContextConfigListener

public EpContextConfigListener()
Method Detail

contextInitialized

public final void contextInitialized(javax.servlet.ServletContextEvent event)
                              throws EpSfWebException
Complete the context initialization for ElasticPath.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Overrides:
contextInitialized in class EpContextConfigListener
Parameters:
event - the servlet context event
Throws:
EpSfWebException - in case of any error happens