站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.1.3 API 英文版文档

SchedulerServlet (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档


org.jbpm.scheduler.impl
Class SchedulerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by 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 :

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

Constructor Summary
SchedulerServlet()
           
 
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
 

Constructor Detail

SchedulerServlet

public SchedulerServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Version : jbpm-3.1.3