DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.repository
Class ServletContextRepositoryWriterPlugin

java.lang.Object
  extended by 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.

Version:
$Header: /cvsroot/dlsciences/dlese-tools-project/src/org/dlese/dpc/schemedit/repository/ServletContextRepositoryWriterPlugin.java,v 1.2 2009/03/20 23:33:57 jweather Exp $

$Log: ServletContextRepositoryWriterPlugin.java,v $ Revision 1.2 2009/03/20 23:33:57 jweather -updated the license statement in all Java files to Educational Community License v1.0. Revision 1.1 2007/11/29 00:19:47 ostwald Revamped RepositoryWriterPlugin scheme. RWplugins registered as init-params to SchemEditServlet and implement interface, throwing RespositoryWriterPluginExceptions. Revision 1.2 2004/09/10 22:46:05 jweather added XML format (docType) and collection (docGroup) to the RepositoryWriterServicePlugin Revision 1.1 2004/09/10 01:58:06 jweather RepositoryWriterPlugins for use in the DDS Servlet indexing of items

Author:
John Weatherley, Jonathan Ostwald
See Also:
RepositoryWriterServiceWriter

Constructor Summary
ServletContextRepositoryWriterPlugin()
           
 
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.schemedit.repository.RepositoryWriterPlugin
deleteRecord, putCollectionData, putRecord
 

Constructor Detail

ServletContextRepositoryWriterPlugin

public ServletContextRepositoryWriterPlugin()
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