Class ServletContextFileIndexingPlugin

java.lang.Object
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.
Author:
John Weatherley
See Also:
  • Constructor Details

    • ServletContextFileIndexingPlugin

      public ServletContextFileIndexingPlugin()
  • Method Details

    • 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