javatools.cron
Class CrontabEntryLoadServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--javatools.cron.CrontabEntryLoadServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class CrontabEntryLoadServlet
- extends javax.servlet.http.HttpServlet
Called by the CrontabEntryApplet in order to load the initial value for
editing.
Suggest inheriting from this class to load in your preferred manner.
e.g. DBMS
- See Also:
- Serialized Form
Method Summary |
CrontabEntryLoadServlet.CrontabSpec |
load(java.lang.String key)
Suggest you inherit and redefine this function in order to load an
entry. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrontabEntryLoadServlet
public CrontabEntryLoadServlet()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
load
public CrontabEntryLoadServlet.CrontabSpec load(java.lang.String key)
- Suggest you inherit and redefine this function in order to load an
entry. The key could be say the line number in the Crontab, or perhaps
some sort of key in your DBMS.
- Parameters:
key
- The key of the crontabEntry to load.