public class AdHocProcessServiceImpl extends Object implements org.jbpm.services.api.AdHocProcessService, VariablesAware
| Modifier and Type | Field and Description |
|---|---|
protected org.jbpm.services.api.RuntimeDataService |
dataService |
protected org.jbpm.services.api.DeploymentService |
deploymentService |
| Constructor and Description |
|---|
AdHocProcessServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
disposeRuntimeEngine(org.kie.api.runtime.manager.RuntimeManager manager,
org.kie.api.runtime.manager.RuntimeEngine engine) |
<T> T |
process(T variables,
ClassLoader cl)
Generic processing method that might be simply returning same instance of variables
if no processing is required.
|
void |
setDataService(org.jbpm.services.api.RuntimeDataService dataService) |
void |
setDeploymentService(org.jbpm.services.api.DeploymentService deploymentService) |
Long |
startProcess(String deploymentId,
String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> params,
Long parentProcessInstanceId) |
protected org.jbpm.services.api.DeploymentService deploymentService
protected org.jbpm.services.api.RuntimeDataService dataService
public void setDeploymentService(org.jbpm.services.api.DeploymentService deploymentService)
public void setDataService(org.jbpm.services.api.RuntimeDataService dataService)
public Long startProcess(String deploymentId, String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> params, Long parentProcessInstanceId)
startProcess in interface org.jbpm.services.api.AdHocProcessServicepublic <T> T process(T variables,
ClassLoader cl)
VariablesAwareprocess in interface VariablesAwarevariables - object that holds varialble(s)cl - classloader that shall be used to operate on the variables e.g. project class loaderprotected void disposeRuntimeEngine(org.kie.api.runtime.manager.RuntimeManager manager,
org.kie.api.runtime.manager.RuntimeEngine engine)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.