public class EmbeddedProcessApplication extends AbstractProcessApplication
An embedded process application is a ProcessApplication that uses an embedded
process engine. An embedded process engine is loaded by the same classloader as
the process application which usually means that the camunda-engine.jar
is deployed as a web application library (in case of WAR deployments) or as an
application library (in case of EAR deployments).
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
Constructor and Description |
---|
EmbeddedProcessApplication() |
Modifier and Type | Method and Description |
---|---|
protected String |
autodetectProcessApplicationName()
Override this method to autodetect an application name in case the
ProcessApplication annotation was used but without parameter. |
<T> T |
execute(Callable<T> callable)
Since the process engine is loaded by the same classloader
as the process application, nothing needs to be done.
|
ProcessApplicationReference |
getReference()
Returns a globally sharable reference to this process application.
|
createDeployment, deploy, execute, getBeanElResolver, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationClassloader, getProcessApplicationScriptEnvironment, getProperties, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setVariableSerializers, undeploy
public static final String DEFAULT_NAME
protected String autodetectProcessApplicationName()
AbstractProcessApplication
ProcessApplication
annotation was used but without parameter.autodetectProcessApplicationName
in class AbstractProcessApplication
public ProcessApplicationReference getReference()
ProcessApplicationInterface
Returns a globally sharable reference to this process application. This reference may be safely passed to the process engine. And other applications.
public <T> T execute(Callable<T> callable) throws ProcessApplicationExecutionException
execute
in interface ProcessApplicationInterface
execute
in class AbstractProcessApplication
callable
- to be executed "within" the context of this process application.ProcessApplicationExecutionException
Copyright © 2019. All rights reserved.