org.camunda.bpm.application.impl
Class EmbeddedProcessApplication
java.lang.Object
org.camunda.bpm.application.AbstractProcessApplication
org.camunda.bpm.application.impl.EmbeddedProcessApplication
- All Implemented Interfaces:
- ProcessApplicationInterface
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).
- Author:
- Daniel Meyer
| Methods inherited from class org.camunda.bpm.application.AbstractProcessApplication |
createDeployment, deploy, getBeanElResolver, getElResolver, getExecutionListener, getName, getProcessApplicationClassloader, getProperties, getRawObject, getTaskListener, initProcessApplicationElResolver, undeploy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedProcessApplication
public EmbeddedProcessApplication()
autodetectProcessApplicationName
protected String autodetectProcessApplicationName()
- Description copied from class:
AbstractProcessApplication
- Override this method to autodetect an application name in case the
ProcessApplication annotation was used but without parameter.
- Specified by:
autodetectProcessApplicationName in class AbstractProcessApplication
getReference
public ProcessApplicationReference getReference()
- Description copied from interface:
ProcessApplicationInterface
Returns a globally sharable reference to this process application. This reference may be safely passed
to the process engine. And other applications.
- Returns:
- a globally sharable reference to this process application.
execute
public <T> T execute(Callable<T> callable)
throws ProcessApplicationExecutionException
- Since the process engine is loaded by the same classloader
as the process application, nothing needs to be done.
- Specified by:
execute in interface ProcessApplicationInterface- Overrides:
execute in class AbstractProcessApplication
- Parameters:
callable - the callable to be executed "within" the context of this process application.
- Returns:
- the result of the callback
- Throws:
ProcessApplicationExecutionException
Copyright © 2015 camunda services GmbH. All rights reserved.