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).
isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment
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, getBeanElResolver, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationClassloader, getProcessApplicationScriptEnvironment, getProperties, getRawObject, getScriptEngineForName, getTaskListener, initProcessApplicationElResolver, undeploy
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
- the callable to be executed "within" the context of this process application.ProcessApplicationExecutionException
Copyright © 2018. All rights reserved.