|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.GenericServlet | +--javax.servlet.http.HttpServlet | +--org.jcrontab.web.loadCrontabServlet
Constructor Summary | |
loadCrontabServlet()
|
Method Summary | |
void |
destroy()
|
static void |
doStop()
|
void |
init(javax.servlet.ServletConfig config)
Refer to Servlet Javadoc This method is invoked by the Servlet container When the app-server starts. |
void |
process()
This method starts the Crontab and lets the system Continue without wasting more resources. |
static void |
ShutdownHook()
This method seths a ShutdownHook to the system This traps the CTRL+C or kill signal and shutdows Correctly the system. |
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 loadCrontabServlet()
Method Detail |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
config
- The ServletConfig
javax.servlet.ServletException
public void process()
public static void ShutdownHook() throws java.lang.Exception
java.lang.Exception
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public static void doStop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |