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
FieldsModifier and TypeFieldDescriptionprotected ClassLoaderprotected ProcessApplicationReferenceImplprotected Stringprotected StringFields inherited from class org.camunda.bpm.application.AbstractProcessApplication
defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringOverride this method to autodetect an application name in case theProcessApplicationannotation was used but without parameter.Override this method to provide an environment-specificClassLoaderto 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:AbstractProcessApplicationOverride this method to autodetect an application name in case theProcessApplicationannotation was used but without parameter.- Specified by:
autodetectProcessApplicationNamein classAbstractProcessApplication
-
getReference
Description copied from interface:ProcessApplicationInterfaceReturns 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:ProcessApplicationInterfaceOverride this method to provide an environment-specific
ClassLoaderto be used by the process engine for loading resources from the process applicationNOTE: the process engine must never cache any references to this
ClassLoaderor to classes obtained through thisClassLoader.- Specified by:
getProcessApplicationClassloaderin interfaceProcessApplicationInterface- Overrides:
getProcessApplicationClassloaderin classAbstractProcessApplication- Returns:
- the
ClassLoaderthat can be used to load classes and resources from this process application.
-
getProperties
Description copied from interface:ProcessApplicationInterfaceoverride this method in order to provide a map of properties.
The properties are made available globally through the
ProcessApplicationService- Specified by:
getPropertiesin interfaceProcessApplicationInterface- Overrides:
getPropertiesin classAbstractProcessApplication- See Also:
-