public class WorkflowControllerServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkflowControllerServlet.PingRate
PingRate
|
class |
WorkflowControllerServlet.WorkflowMonitor
WorkflowMonitor
|
class |
WorkflowControllerServlet.WorkflowServletConfig
WorkflowServletConfig
|
| Modifier and Type | Field and Description |
|---|---|
protected ComponentConfiguration |
componentConfiguration |
protected boolean |
isStopped |
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> |
monitoredWorkflowServletConfigs |
static String |
OPTION_AUTOSTART |
static String |
OPTION_EXECUTION_PERIOD |
static String |
OPTION_PINGRATE |
static String |
OPTION_SERVER_URL |
protected String |
providerName |
protected Thread |
workflowMonitor |
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> |
workflowServletConfigs |
| Constructor and Description |
|---|
WorkflowControllerServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertAndStartWorkflowMonitor()
Assert and start workflow monitor.
|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
URL |
getWorkflowServletURL(String path)
Get workflow servlet URL.
|
protected void |
handleRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle command.
|
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String OPTION_SERVER_URL
public static final String OPTION_AUTOSTART
public static final String OPTION_PINGRATE
public static final String OPTION_EXECUTION_PERIOD
protected String providerName
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> workflowServletConfigs
protected ConcurrentMap<String,WorkflowControllerServlet.WorkflowServletConfig> monitoredWorkflowServletConfigs
protected Thread workflowMonitor
protected boolean isStopped
protected ComponentConfiguration componentConfiguration
protected void assertAndStartWorkflowMonitor()
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic URL getWorkflowServletURL(String path) throws MalformedURLException
path - MalformedURLExceptionprotected void handleRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
req - res - javax.servlet.ServletExceptionIOExceptionprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.