com.opensymphony.webwork.spring.lifecycle
Class SpringExternalReferenceResolverSetupListener

java.lang.Object
  extended by com.opensymphony.webwork.spring.lifecycle.SpringExternalReferenceResolverSetupListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class SpringExternalReferenceResolverSetupListener
extends Object
implements ServletContextListener

Setup any ExternalReferenceResolvers that implement the ApplicationContextAware interface from the Spring framework. Relies on Spring's ContextLoaderListenerhaving been called first.

Author:
Simon Stewart

Constructor Summary
SpringExternalReferenceResolverSetupListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringExternalReferenceResolverSetupListener

public SpringExternalReferenceResolverSetupListener()
Method Detail

contextInitialized

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

contextDestroyed

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

WebWork Project Page