当前页面:
在线文档首页 >
JBoss JBPM 3.0.4 API 英文版文档
SchedulerServlet (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档
org.jbpm.scheduler.impl
Class SchedulerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.jbpm.scheduler.impl.SchedulerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class SchedulerServlet
- extends javax.servlet.http.HttpServlet
the jBPM timer execution servlet.
Config parameters :
- interval: maximum time in milliseconds between 2 calls to
org.jbpm.scheduler.spi.TimerExecutor#executeTimers()
. defaults to 5000.
- historyMaxSize: maximum number of logs to be kept for display on the page. defaults to 50.
Configuration example with:
<web-app>
...
<servlet >
<servlet-name>SchedulerServlet</servlet-name>
<servlet-class>org.jbpm.scheduler.impl.SchedulerServlet</servlet-class>
<init-param>
<param-name>interval</param-name>
<param-value>5000</param-value>
</init-param>
<init-param>
<param-name>historyMaxSize</param-name>
<param-value>50</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping >
<servlet-name>SchedulerServlet</servlet-name>
<url-pattern>/jbpmscheduler</url-pattern>
</servlet-mapping>
...
</web-app>
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
init()
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, 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 |
SchedulerServlet
public SchedulerServlet()
init
public void init()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
Version : jbpm-3.0.4