DLESE Tools
v1.6.0

org.dlese.dpc.index.writer
Class ServletContextFileIndexingPlugin

java.lang.Object
  extended by org.dlese.dpc.index.writer.ServletContextFileIndexingPlugin
All Implemented Interfaces:
FileIndexingPlugin
Direct Known Subclasses:
DcsDataFileIndexingPlugin, DDSItemMetaMetadataIndexingPlugin

public abstract class ServletContextFileIndexingPlugin
extends Object
implements FileIndexingPlugin

This abstract class implements FileIndexingPlugin to provide access to the ServletContext during the indexing process. This class should be used when using a FileIndexingPlugin in a Servlet environment.

Version:
$Header: /cvsroot/dlsciences/dlese-tools-project/src/org/dlese/dpc/index/writer/ServletContextFileIndexingPlugin.java,v 1.3 2009/03/20 23:33:53 jweather Exp $

$Log: ServletContextFileIndexingPlugin.java,v $ Revision 1.3 2009/03/20 23:33:53 jweather -updated the license statement in all Java files to Educational Community License v1.0. Revision 1.2 2004/09/10 22:46:05 jweather added XML format (docType) and collection (docGroup) to the FileIndexingServicePlugin Revision 1.1 2004/09/10 01:58:06 jweather FileIndexingPlugins for use in the DDS Servlet indexing of items

Author:
John Weatherley
See Also:
FileIndexingServiceWriter

Constructor Summary
ServletContextFileIndexingPlugin()
           
 
Method Summary
static ServletContext getServletContext()
          Gets the ServletContext for use during the indexing process.
static void setServletContext(ServletContext context)
          Sets the ServletContext to make it available to this plugin during the indexing process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dlese.dpc.index.writer.FileIndexingPlugin
addFields
 

Constructor Detail

ServletContextFileIndexingPlugin

public ServletContextFileIndexingPlugin()
Method Detail

setServletContext

public static void setServletContext(ServletContext context)
Sets the ServletContext to make it available to this plugin during the indexing process.

Parameters:
context - The ServletContext

getServletContext

public static ServletContext getServletContext()
Gets the ServletContext for use during the indexing process.

Returns:
The ServletContext

DLESE Tools
v1.6.0