edu.sampleu.travel.infrastructure
Class TravelAppInitializeListener

java.lang.Object
  extended by edu.sampleu.travel.infrastructure.TravelAppInitializeListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class TravelAppInitializeListener
extends Object
implements javax.servlet.ServletContextListener

A ServletContextListener that fires up the Spring context. This is used instead of a standard ContextLoaderListener in order to load an extra test context if running in unit tests.

Author:
Kuali Rice Team (rice.collab@kuali.org)

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

Constructor Detail

TravelAppInitializeListener

public TravelAppInitializeListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent sce)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.