project.biota.servlet
Class BiotaContextListener

java.lang.Object
  extended byproject.biota.servlet.BiotaContextListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class BiotaContextListener
extends Object
implements ServletContextListener

BiotaContextListener is the context listener of this BiotaDiGIRProvider web application.

Author:
Jacob Asiedu, Kimmy Lin

Constructor Summary
BiotaContextListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent servletContextEvent)
          Notification that the servlet context is about to be shut down.
 void contextInitialized(ServletContextEvent servletContextEvent)
          Notification that the web application is ready to process requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BiotaContextListener

public BiotaContextListener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent servletContextEvent)
Notification that the web application is ready to process requests. Calls the BiotaUtils.initializeResources() to initialize the resources provided by this provider.

Specified by:
contextInitialized in interface ServletContextListener
Parameters:
servletContextEvent - the ServletContextEvent object
See Also:
BiotaUtils.initializeResources(ServletContext)

contextDestroyed

public void contextDestroyed(ServletContextEvent servletContextEvent)
Notification that the servlet context is about to be shut down.

Specified by:
contextDestroyed in interface ServletContextListener
Parameters:
servletContextEvent - the ServletContextEvent object


Copyright © 2004 University of Massachusetts at Boston. All Rights Reserved.