|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.mindmatters.faces.spring.context.ContextLoaderListener
Bootstrap listener to start up faces' root WebApplicationContext. Simply delegates to ContextLoader.
This listener should be registered after Log4jConfigListener in web.xml, if the latter is used.
This listener must be registered after any listeners which start the configuration of the used jsf-implementation 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.
ContextLoader
,
ContextLoaderServlet
Constructor Summary | |
ContextLoaderListener()
|
Method Summary | |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Closes the root web application context. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Initializes the faces root web application context. |
protected ContextLoader |
createContextLoader()
Creates the ContextLoader to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextLoaderListener()
Method Detail |
protected ContextLoader createContextLoader()
public final void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
event
- the ServletContextEvent#contextInitialized(javax.servlet.ServletContextEvent)
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- the ServletContextEvent#contextDestroyed(javax.servlet.ServletContextEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |