| javax.servlet.http.HttpServlet org.apache.lenya.cms.scheduler.LoadQuartzServlet
LoadQuartzServlet | public class LoadQuartzServlet extends HttpServlet (Code) | | A simple servlet that starts an instance of a Quartz scheduler.
|
CONFIGURATION_ELEMENT | final public static String CONFIGURATION_ELEMENT(Code) | | CONFIGURATION_ELEMENT The configuration element
|
DOCUMENT_DELETED | final protected static String DOCUMENT_DELETED(Code) | | |
PARAMETER_ACTION | final public static String PARAMETER_ACTION(Code) | | PARAMETER_ACTION The action parameter
|
PARAMETER_DOCUMENT_URL | final public static String PARAMETER_DOCUMENT_URL(Code) | | PARAMETER_DOCUMENT_URL The document URL parameter
|
PARAMETER_PUBLICATION_ID | final public static String PARAMETER_PUBLICATION_ID(Code) | | PARAMETER_PUBLICATION_ID The publication id parameter
|
PREFIX | final public static String PREFIX(Code) | | PREFIX Scheduler namespace prefix
|
SERVLET_URL | final public static String SERVLET_URL(Code) | | SERVLET_URL The scheduler servlet URL
|
destroy | public void destroy()(Code) | | Shuts down the scheduler.
|
destroyScheduler | public static void destroyScheduler()(Code) | | Shuts down the scheduler.
|
getDeleteDocumentRequestURI | public static String getDeleteDocumentRequestURI(String port, String servletContextPath, org.apache.lenya.cms.publication.Document document)(Code) | | Generates the request URI needed to delete the jobs for a certain document.
Parameters: port - The port of the servlet Parameters: servletContextPath - The context path of the servlet Parameters: document - The document. A string. |
getJobId | protected String getJobId(NamespaceMap schedulerParameters)(Code) | | Extracts the job ID from the scheduler parameters.
Parameters: schedulerParameters - A namespace map. A string. |
getScheduler | public static SchedulerWrapper getScheduler()(Code) | | Returns the scheduler wrapper.
A scheduler wrapper. |
getSchedulerParameters | public static NamespaceMap getSchedulerParameters(HttpServletRequest request)(Code) | | Extracts the scheduler parameters from a request.
Parameters: request - The request. A namespace map. |
getServlet | public static LoadQuartzServlet getServlet(String contextPath)(Code) | | Returns the servlet for a certain canonical servlet context path.
Parameters: contextPath - The canonical servlet context path. A LoadQuartzServlet. |
getServletContextDirectory | public File getServletContextDirectory()(Code) | | Returns the servlet context path.
A string. |
logSessionAttributes | protected void logSessionAttributes(HttpServletRequest request)(Code) | | Logs the session attributes of a request.
Parameters: request - The request. |
restoreJobs | public void restoreJobs() throws SchedulerException(Code) | | Restores the jobs.
throws: SchedulerException - when something went wrong. |
shutdownHook | public static void shutdownHook() throws Exception(Code) | | This method sets a ShutdownHook to the system This traps the CTRL+C or kill signal and
shutdows Correctly the system.
throws: Exception - when something went wrong. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|