public class InvoiceProcessApplication extends ServletProcessApplication
processApplicationClassloader, reference, servletContext, servletContextName, servletContextPath
defaultDeployToEngineName, isDeployed, processApplicationBeanElResolver, processApplicationElResolver, processApplicationScriptEnvironment, variableSerializers
Constructor and Description |
---|
InvoiceProcessApplication() |
Modifier and Type | Method and Description |
---|---|
void |
createDeployment(String processArchiveName,
DeploymentBuilder deploymentBuilder)
Override this method in order to programmatically add resources to the
deployment created by this process application.
|
protected boolean |
isProcessDeployed(RepositoryService repositoryService,
String key) |
void |
startFirstProcess(ProcessEngine processEngine)
In a @PostDeploy Hook you can interact with the process engine and access
the processes the application has deployed.
|
autodetectProcessApplicationName, contextDestroyed, contextInitialized, getProcessApplicationClassloader, getProperties, getReference, getServletContext, initProcessApplicationClassloader
deploy, execute, execute, getBeanElResolver, getDefaultDeployToEngineName, getElResolver, getEnvironmentScripts, getExecutionListener, getName, getProcessApplicationScriptEnvironment, getRawObject, getScriptEngineForName, getTaskListener, getVariableSerializers, initProcessApplicationElResolver, setDefaultDeployToEngineName, setVariableSerializers, undeploy
public void startFirstProcess(ProcessEngine processEngine)
public void createDeployment(String processArchiveName, DeploymentBuilder deploymentBuilder)
ProcessApplicationInterface
Override this method in order to programmatically add resources to the deployment created by this process application.
This method is invoked at deployment time once for each process archive deployed by this process application.
NOTE: this method must NOT call the DeploymentBuilder.deploy()
method.
createDeployment
in interface ProcessApplicationInterface
createDeployment
in class AbstractProcessApplication
processArchiveName
- the name of the processArchive which is currently being deployed.deploymentBuilder
- the DeploymentBuilder
used to construct the deployment.protected boolean isProcessDeployed(RepositoryService repositoryService, String key)
Copyright © 2022. All rights reserved.