Class ServletContextRepositoryWriterPlugin
java.lang.Object
org.dlese.dpc.schemedit.repository.ServletContextRepositoryWriterPlugin
- All Implemented Interfaces:
RepositoryWriterPlugin
- Direct Known Subclasses:
NdrRepositoryWriterPlugin
public abstract class ServletContextRepositoryWriterPlugin
extends Object
implements RepositoryWriterPlugin
This abstract class implements RepositoryWriterPlugin to provide access to the
ServletContext during the indexing process. This class should be used
when using a RepositoryWriterPlugin in a Servlet environment.- Author:
- John Weatherley, Jonathan Ostwald
- 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.schemedit.repository.RepositoryWriterPlugin
deleteRecord, putCollectionData, putRecord
-
Constructor Details
-
ServletContextRepositoryWriterPlugin
public ServletContextRepositoryWriterPlugin()
-
-
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
-