org.opencrx.kernel.workflow.servlet
Class WorkflowControllerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opencrx.kernel.workflow.servlet.WorkflowControllerServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class WorkflowControllerServlet
- extends HttpServlet
The WorkflowControllerServlet periodically pings the configured URLs
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_SERVER_URL
public static final String OPTION_SERVER_URL
- See Also:
- Constant Field Values
OPTION_AUTOSTART
public static final String OPTION_AUTOSTART
- See Also:
- Constant Field Values
OPTION_PINGRATE
public static final String OPTION_PINGRATE
- See Also:
- Constant Field Values
OPTION_EXECUTION_PERIOD
public static final String OPTION_EXECUTION_PERIOD
- See Also:
- Constant Field Values
providerName
protected String providerName
workflowServletConfigs
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> workflowServletConfigs
monitoredWorkflowServletConfigs
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> monitoredWorkflowServletConfigs
workflowMonitor
protected Thread workflowMonitor
isStopped
protected boolean isStopped
componentConfiguration
protected ComponentConfiguration componentConfiguration
WorkflowControllerServlet
public WorkflowControllerServlet()
assertAndStartWorkflowMonitor
protected void assertAndStartWorkflowMonitor()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init in interface Servlet- Overrides:
init in class GenericServlet
- Throws:
ServletException
getWorkflowServletURL
public URL getWorkflowServletURL(String path)
throws MalformedURLException
- Throws:
MalformedURLException
handleRequest
protected void handleRequest(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doGet in class HttpServlet
- Throws:
ServletException
IOException
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doPost in class HttpServlet
- Throws:
ServletException
IOException
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.