DLESE Tools
v1.6.0

org.dlese.dpc.standards.commcore
Class CommCoreServlet

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

public final class CommCoreServlet
extends HttpServlet

Servlet responsible for initializing the StandardsSuggestionService.

CURRENTLY NOT ACTIVE, since we do not actually use StandardsSuggestionService for Skeletal implementation. To use, uncomment the servlet tag in WEB-INF/web.xml.

Author:
Jonathan Ostwald
See Also:
Serialized Form

Constructor Summary
CommCoreServlet()
           
 
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)
          Intialize the StandardsSuggestionService and place it in the ServletContext where it can be found by the Rest Service Clases.
 
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

CommCoreServlet

public CommCoreServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Intialize the StandardsSuggestionService and place it in the ServletContext where it can be found by the Rest Service Clases.

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