Package org.dlese.dpc.standards.commcore
Class CommCoreServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.dlese.dpc.standards.commcore.CommCoreServlet
- All Implemented Interfaces:
Serializable,Servlet,ServletConfig
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Performs shutdown operations.static StringReturn a string for the current time and date, sutiable for display in log files and output to standout:voidinit(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, serviceMethods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
CommCoreServlet
public CommCoreServlet()
-
-
Method Details
-
init
Intialize the StandardsSuggestionService and place it in the ServletContext where it can be found by the Rest Service Clases.- Specified by:
initin interfaceServlet- Overrides:
initin classGenericServlet- Parameters:
config- Description of the Parameter- Throws:
ServletException- Description of the Exception
-
destroy
public void destroy()Performs shutdown operations.- Specified by:
destroyin interfaceServlet- Overrides:
destroyin classGenericServlet
-
getDateStamp
Return a string for the current time and date, sutiable for display in log files and output to standout:- Returns:
- The dateStamp value
-