Package org.camunda.bpm.application.impl
Class AbstractServletProcessApplication
java.lang.Object
org.camunda.bpm.application.AbstractProcessApplication
org.camunda.bpm.application.impl.AbstractServletProcessApplication
- All Implemented Interfaces:
ProcessApplicationInterface
- Direct Known Subclasses:
JakartaServletProcessApplication
,ServletProcessApplication
-
Field Summary
Modifier and TypeFieldDescriptionprotected ClassLoader
protected ProcessApplicationReferenceImpl
protected String
protected String
Fields inherited from class org.camunda.bpm.application.AbstractProcessApplication
defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Override this method to autodetect an application name in case theProcessApplication
annotation was used but without parameter.Override this method to provide an environment-specificClassLoader
to be used by the process engine for loading resources from the process applicationoverride this method in order to provide a map of properties.Returns a globally sharable reference to this process application.Methods inherited from class org.camunda.bpm.application.AbstractProcessApplication
createDeployment, deploy, execute, execute, getBeanElResolver, getDefaultDeployToEngineName, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationScriptEnvironment, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setDefaultDeployToEngineName, setVariableSerializers, undeploy
-
Field Details
-
servletContextName
-
servletContextPath
-
reference
-
processApplicationClassloader
-
-
Constructor Details
-
AbstractServletProcessApplication
public AbstractServletProcessApplication()
-
-
Method Details
-
autodetectProcessApplicationName
Description copied from class:AbstractProcessApplication
Override this method to autodetect an application name in case theProcessApplication
annotation was used but without parameter.- Specified by:
autodetectProcessApplicationName
in classAbstractProcessApplication
-
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.
-
getProcessApplicationClassloader
Description copied from interface:ProcessApplicationInterface
Override this method to provide an environment-specific
ClassLoader
to be used by the process engine for loading resources from the process applicationNOTE: the process engine must never cache any references to this
ClassLoader
or to classes obtained through thisClassLoader
.- Specified by:
getProcessApplicationClassloader
in interfaceProcessApplicationInterface
- Overrides:
getProcessApplicationClassloader
in classAbstractProcessApplication
- Returns:
- the
ClassLoader
that can be used to load classes and resources from this process application.
-
getProperties
Description copied from interface:ProcessApplicationInterface
override this method in order to provide a map of properties.
The properties are made available globally through the
ProcessApplicationService
- Specified by:
getProperties
in interfaceProcessApplicationInterface
- Overrides:
getProperties
in classAbstractProcessApplication
- See Also:
-