DLESE Tools
v1.6.0

org.dlese.dpc.ndr
Class NDRServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.dlese.dpc.ndr.NDRServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public final class NDRServlet
extends HttpServlet

Servlet responsible for initializing the NDR proxy and placing it in the servlet Context.

Author:
Jonathan Ostwald

$Id: NDRServlet.java,v 1.20 2010/05/26 21:13:20 ostwald Exp $

See Also:
Serialized Form

Constructor Summary
NDRServlet()
           
 
Method Summary
 void destroy()
          Performs shutdown operations.
static String getDateStamp()
          Return a string for the current time and date, sutiable for display in log files and output to standout:
 void init(ServletConfig config)
          Make sure the repository exists and there is a master collection record before the repository manager is initilized in the DDSServlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDRServlet

public NDRServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Make sure the repository exists and there is a master collection record before the repository manager is initilized in the DDSServlet.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Parameters:
config - Description of the Parameter
Throws:
ServletException - Description of the Exception

destroy

public void destroy()
Performs shutdown operations.

Specified by:
destroy in interface Servlet
Overrides:
destroy in class GenericServlet

getDateStamp

public static String getDateStamp()
Return a string for the current time and date, sutiable for display in log files and output to standout:

Returns:
The dateStamp value

DLESE Tools
v1.6.0