Package org.dlese.dpc.index.writer
Class ServletContextFileIndexingPlugin
java.lang.Object
org.dlese.dpc.index.writer.ServletContextFileIndexingPlugin
- All Implemented Interfaces:
FileIndexingPlugin
- Direct Known Subclasses:
DcsDataFileIndexingPlugin,DDSItemMetaMetadataIndexingPlugin
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServletContextGets the ServletContext for use during the indexing process.static voidsetServletContext(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, waitMethods inherited from interface org.dlese.dpc.index.writer.FileIndexingPlugin
addFields
-
Constructor Details
-
ServletContextFileIndexingPlugin
public ServletContextFileIndexingPlugin()
-
-
Method Details
-
setServletContext
Sets the ServletContext to make it available to this plugin during the indexing process.- Parameters:
context- The ServletContext
-
getServletContext
Gets the ServletContext for use during the indexing process.- Returns:
- The ServletContext
-