|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.mindmatters.faces.spring.config.ConfigLoaderListener
Bootstrap listener to start up jsf-spring-config root ConfigWebApplicationContext. Simply delegates to ConfigLoader.
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 ConfigLoaderServlet. See the latter's Javadoc for details.
ContextLoader
,
ContextLoaderServlet
Constructor Summary | |
ConfigLoaderListener()
|
Method Summary | |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
Closes the jsf-spring-config root web application context. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
Initializes the jsf-spring-config root web application context. |
protected ConfigLoader |
createConfigLoader()
Creates the ConfigLoader to use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigLoaderListener()
Method Detail |
protected ConfigLoader createConfigLoader()
public final void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
event
- the ServletContextEventServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)
public final void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
event
- the ServletContextEventServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |