org.deegree.enterprise.servlet
Class CSWHarvestingContextListener
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSWHarvestingContextListener
public CSWHarvestingContextListener()
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
-
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net