|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.ucsb.nceas.metacat.harvesterClient.HarvesterServlet
HarvesterServlet class allows Harvester to be run as a background process. This eliminates the need to run Harvester in a terminal window. To activate this servlet, uncomment the HarvesterServlet entry in the appropriate 'lib/web.xml.tomcat*' file.
Constructor Summary | |
HarvesterServlet()
|
Method Summary | |
void |
destroy()
Stops the Harvester thread when the servlet shuts down. |
void |
init()
Initializes the servlet by starting a separate thread in which to run the Harvester main program. |
void |
run()
Runs the Harvester main program in a separate thread. |
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 |
public HarvesterServlet()
Method Detail |
public void init() throws javax.servlet.ServletException
javax.servlet.ServletException
public void run()
run
in interface java.lang.Runnable
public void destroy()
destroy
in interface javax.servlet.Servlet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |