|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.web.context.impl.EpContextConfigListener
public class 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.
This class may be extended to provide custom behaviour; such as in the case of the sf.
Constructor Summary | |
---|---|
EpContextConfigListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Close the root web application context. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Complete the context initialization for ElasticPath. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EpContextConfigListener()
Method Detail |
---|
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- not usedpublic void contextInitialized(javax.servlet.ServletContextEvent event) throws EpSystemException
contextInitialized
in interface javax.servlet.ServletContextListener
event
- the servlet context event.
EpSystemException
- in case of any error happens.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |