com.ideo.sweetdevria.webapp
Class RiaLoaderListener

java.lang.Object
  extended by com.ideo.sweetdevria.webapp.RiaLoaderListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListener

public class RiaLoaderListener
extends java.lang.Object
implements javax.servlet.ServletContextListener, javax.servlet.http.HttpSessionListener

RiaConfigLoaderListener is responsible for loading the configuration at server startup and destroying config objects at server shutdown.


Constructor Summary
RiaLoaderListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent servletContext)
          Actions performed when application is destroyed.
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
          Actions performed on startup : load configuration (ria-config.xml), check version between JAR and resources files (JavaScript & CSS).
 void sessionCreated(javax.servlet.http.HttpSessionEvent sessEvt)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent sessEvt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiaLoaderListener

public RiaLoaderListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Actions performed on startup :

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent servletContext)
Actions performed when application is destroyed.

Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

sessionCreated

public void sessionCreated(javax.servlet.http.HttpSessionEvent sessEvt)
Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener

sessionDestroyed

public void sessionDestroyed(javax.servlet.http.HttpSessionEvent sessEvt)
Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener


Copyright © 2010 Ideo Technologies. All Rights Reserved.