public class DefaultCaseDefinitionAutoDeployer extends CommonAutoDeployer implements org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
protected org.flowable.cmmn.engine.CmmnEngineConfiguration |
cmmnEngineConfiguration |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected int |
order |
deploymentProperties, deploymentResources
Constructor and Description |
---|
DefaultCaseDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> cmmnResources,
org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration,
Set<String> autoDeployTenants,
org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) |
DefaultCaseDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> cmmnResources,
org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration,
String deploymentName,
Set<String> autoDeployTenants,
org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(Collection<org.springframework.core.io.Resource> resources,
String tenantId) |
protected void |
deployResourcesInternal(Collection<org.springframework.core.io.Resource> resources)
Methods that should be implemented by sub classes to perform the actual deployment.
|
protected org.flowable.common.engine.impl.lock.LockManager |
getLockManager()
Get the lock manager for the current deployer.
|
int |
getOrder() |
void |
setOrder(int order) |
determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, onApplicationEvent, setDeploymentProperties
public static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration
protected String deploymentName
protected int order
public DefaultCaseDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> cmmnResources, org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration, Set<String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
cmmnResources
- the resources that should be deployedcmmnEngineConfiguration
- the engine configurationautoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public DefaultCaseDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> cmmnResources, org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration, String deploymentName, Set<String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
cmmnResources
- the resources that should be deployedcmmnEngineConfiguration
- the engine configurationdeploymentName
- the name of the deploymentautoDeployTenants
- the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
protected void deployResourcesInternal(Collection<org.springframework.core.io.Resource> resources)
CommonAutoDeployer
deployResourcesInternal
in class CommonAutoDeployer
resources
- the resources to be deployedprotected org.flowable.common.engine.impl.lock.LockManager getLockManager()
CommonAutoDeployer
getLockManager
in class CommonAutoDeployer
protected void deploy(Collection<org.springframework.core.io.Resource> resources, String tenantId)
Copyright © 2019. All rights reserved.