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, service
public 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.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public URL getWorkflowServletURL(String path) throws MalformedURLException
path
- MalformedURLException
protected void handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
req
- res
- javax.servlet.ServletException
IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.