org.apache.nutch.searcher
Class NutchBean.NutchBeanConstructor

java.lang.Object
  extended by org.apache.nutch.searcher.NutchBean.NutchBeanConstructor
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener
Enclosing class:
NutchBean

public static class NutchBean.NutchBeanConstructor
extends Object
implements javax.servlet.ServletContextListener

Responsible for constructing a NutchBean singleton instance and caching it in the servlet context. This class should be registered in the deployment descriptor as a listener


Constructor Summary
NutchBean.NutchBeanConstructor()
           
 
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

NutchBean.NutchBeanConstructor

public NutchBean.NutchBeanConstructor()
Method Detail

contextDestroyed

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

contextInitialized

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


Copyright © 2006 The Apache Software Foundation