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 java.util.concurrent.ConcurrentMap<java.lang.String,WorkflowControllerServlet.WorkflowServletConfig> |
monitoredWorkflowServletConfigs |
static java.lang.String |
OPTION_AUTOSTART |
static java.lang.String |
OPTION_EXECUTION_PERIOD |
static java.lang.String |
OPTION_PINGRATE |
static java.lang.String |
OPTION_SERVER_URL |
protected java.lang.String |
providerName |
protected java.lang.Thread |
workflowMonitor |
protected java.util.concurrent.ConcurrentMap<java.lang.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) |
java.net.URL |
getWorkflowServletURL(java.lang.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 java.lang.String OPTION_SERVER_URL
public static final java.lang.String OPTION_AUTOSTART
public static final java.lang.String OPTION_PINGRATE
public static final java.lang.String OPTION_EXECUTION_PERIOD
protected java.lang.String providerName
protected java.util.concurrent.ConcurrentMap<java.lang.String,WorkflowControllerServlet.WorkflowServletConfig> workflowServletConfigs
protected java.util.concurrent.ConcurrentMap<java.lang.String,WorkflowControllerServlet.WorkflowServletConfig> monitoredWorkflowServletConfigs
protected java.lang.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 java.net.URL getWorkflowServletURL(java.lang.String path) throws java.net.MalformedURLException
path
- java.net.MalformedURLException
protected void handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
req
- res
- javax.servlet.ServletException
java.io.IOException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.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.