deegree 2.2 (2008/12/22 11:33 build-3038-official)

org.deegree.enterprise.servlet
Class CSWHarvestingContextListener

java.lang.Object
  extended by org.deegree.enterprise.servlet.CSWHarvestingContextListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class CSWHarvestingContextListener
extends Object
implements ServletContextListener

This class can be used to start up CSW harvesting thread when a servlet context will be initialized and to free all assigned resources if it will be destroyed.
For this it has to be registered to a servelt context making a <listener> entry to web.xml

  
   
       com.listeners.MyContextListener
   
   
   ...
   
   
    ...
   
  
 

Since:
2.0
Version:
$Revision: 9356 $, 1.0. $Revision: 9356 $, $Date: 2007-12-28 12:11:34 +0100 (Fr, 28 Dez 2007) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Constructor Summary
CSWHarvestingContextListener()
           
 
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

CSWHarvestingContextListener

public CSWHarvestingContextListener()
Method Detail

contextDestroyed

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

contextInitialized

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

deegree 2.2 (2008/12/22 11:33 build-3038-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net