org.archive.crawler
Class WebappLifecycle

java.lang.Object
  extended by org.archive.crawler.WebappLifecycle
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class WebappLifecycle
extends java.lang.Object
implements javax.servlet.ServletContextListener

Calls start and stop of Heritrix when Heritrix is bundled as a webapp.

Version:
$Date: 2005-11-17 00:55:56 +0000 (Thu, 17 Nov 2005) $, $Revision: 3959 $
Author:
stack

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

WebappLifecycle

public WebappLifecycle()
Method Detail

contextInitialized

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

contextDestroyed

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


Copyright © 2003-2011 Internet Archive. All Rights Reserved.