Class DeploymentManager
java.lang.Object
org.flowable.engine.impl.persistence.deploy.DeploymentManager
- Author:
- Tom Baeyens, Falko Menge, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DeploymentCache<Object>
protected List<EngineDeployer>
protected DeploymentEntityManager
protected DeploymentCache<Object>
protected DeploymentCache<ProcessDefinitionCacheEntry>
protected ProcessDefinitionEntityManager
protected DeploymentCache<ProcessDefinitionInfoCacheObject>
protected ProcessEngineConfigurationImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(DeploymentEntity deployment) void
deploy
(DeploymentEntity deployment, Map<String, Object> deploymentSettings) findDeployedLatestProcessDefinitionByKey
(String processDefinitionKey) findDeployedLatestProcessDefinitionByKeyAndTenantId
(String processDefinitionKey, String tenantId) findDeployedProcessDefinitionById
(String processDefinitionId) findDeployedProcessDefinitionByKeyAndVersionAndTenantId
(String processDefinitionKey, Integer processDefinitionVersion, String tenantId) getAppResourceModel
(String deploymentId) getAppResourceObject
(String deploymentId) void
removeDeployment
(String deploymentId, boolean cascade) resolveProcessDefinition
(ProcessDefinition processDefinition) Resolving the process definition will fetch the BPMN 2.0, parse it and store theBpmnModel
in memory.void
setAppResourceCache
(DeploymentCache<Object> appResourceCache) void
setDeployers
(List<EngineDeployer> deployers) void
setDeploymentEntityManager
(DeploymentEntityManager deploymentEntityManager) void
setKnowledgeBaseCache
(DeploymentCache<Object> knowledgeBaseCache) void
setProcessDefinitionCache
(DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache) void
setProcessDefinitionEntityManager
(ProcessDefinitionEntityManager processDefinitionEntityManager) void
setProcessDefinitionInfoCache
(DeploymentCache<ProcessDefinitionInfoCacheObject> processDefinitionInfoCache) void
setProcessEngineConfiguration
(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Field Details
-
processDefinitionCache
-
processDefinitionInfoCache
-
appResourceCache
-
knowledgeBaseCache
-
deployers
-
processEngineConfiguration
-
processDefinitionEntityManager
-
deploymentEntityManager
-
-
Constructor Details
-
DeploymentManager
public DeploymentManager()
-
-
Method Details
-
deploy
-
deploy
-
findDeployedProcessDefinitionById
-
findDeployedLatestProcessDefinitionByKey
-
findDeployedLatestProcessDefinitionByKeyAndTenantId
public ProcessDefinition findDeployedLatestProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId) -
findDeployedProcessDefinitionByKeyAndVersionAndTenantId
public ProcessDefinition findDeployedProcessDefinitionByKeyAndVersionAndTenantId(String processDefinitionKey, Integer processDefinitionVersion, String tenantId) -
resolveProcessDefinition
Resolving the process definition will fetch the BPMN 2.0, parse it and store theBpmnModel
in memory. -
getAppResourceObject
-
getAppResourceModel
-
removeDeployment
-
getDeployers
-
setDeployers
-
getProcessDefinitionCache
-
setProcessDefinitionCache
public void setProcessDefinitionCache(DeploymentCache<ProcessDefinitionCacheEntry> processDefinitionCache) -
getProcessDefinitionInfoCache
-
setProcessDefinitionInfoCache
public void setProcessDefinitionInfoCache(DeploymentCache<ProcessDefinitionInfoCacheObject> processDefinitionInfoCache) -
getKnowledgeBaseCache
-
setKnowledgeBaseCache
-
getAppResourceCache
-
setAppResourceCache
-
getProcessEngineConfiguration
-
setProcessEngineConfiguration
public void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration) -
getProcessDefinitionEntityManager
-
setProcessDefinitionEntityManager
public void setProcessDefinitionEntityManager(ProcessDefinitionEntityManager processDefinitionEntityManager) -
getDeploymentEntityManager
-
setDeploymentEntityManager
-