Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.search.servlet
Class SearchInitialiserServlet  view SearchInitialiserServlet download SearchInitialiserServlet.java

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.RuntimeCollective.search.servlet.SearchInitialiserServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SearchInitialiserServlet
extends javax.servlet.http.HttpServlet

Initialises the Lucene search

Version:
$Id: SearchInitialiserServlet.java,v 1.8 2003/09/30 15:12:57 joe Exp $

Field Summary
 
Fields inherited from class javax.servlet.http.HttpServlet
 
Fields inherited from class javax.servlet.GenericServlet
 
Constructor Summary
SearchInitialiserServlet()
           
 
Method Summary
 void init()
          Initialize the environment.
private  void initScheduledUpdate(javax.servlet.ServletConfig sc)
          Set up an early-morning timer that will index content that goes live that day, and unindex content that goes dead, starting at 1am tomorrow
 void initSearchIndex(javax.servlet.ServletConfig sc)
          Initialise the searchIndex Was private, made it public for junit tests
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchInitialiserServlet

public SearchInitialiserServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initialize the environment.


initSearchIndex

public void initSearchIndex(javax.servlet.ServletConfig sc)
                     throws javax.servlet.ServletException
Initialise the searchIndex Was private, made it public for junit tests


initScheduledUpdate

private void initScheduledUpdate(javax.servlet.ServletConfig sc)
Set up an early-morning timer that will index content that goes live that day, and unindex content that goes dead, starting at 1am tomorrow