public class DefaultDocumentDefinitionAutoDeployer extends CommonAutoDeployer implements org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
protected com.flowable.core.content.api.CoreContentEngineConfigurationApi |
contentEngineConfiguration |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected Function<String,org.flowable.common.engine.impl.lock.LockManager> |
lockManagerProvider |
protected int |
order |
deploymentProperties, deploymentResources
Constructor and Description |
---|
DefaultDocumentDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
com.flowable.core.content.api.CoreContentEngineConfigurationApi contentEngineConfiguration,
Function<String,org.flowable.common.engine.impl.lock.LockManager> lockManagerProvider,
Set<String> autoDeployTenants,
org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) |
DefaultDocumentDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
com.flowable.core.content.api.CoreContentEngineConfigurationApi contentEngineConfiguration,
Function<String,org.flowable.common.engine.impl.lock.LockManager> lockManagerProvider,
String deploymentName,
Set<String> autoDeployTenants,
org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) |
Modifier and Type | Method and Description |
---|---|
protected Collection<org.springframework.core.io.Resource> |
collectDeploymentResources(Collection<org.springframework.core.io.Resource> resources) |
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 com.flowable.core.content.api.CoreContentEngineConfigurationApi contentEngineConfiguration
protected Function<String,org.flowable.common.engine.impl.lock.LockManager> lockManagerProvider
protected String deploymentName
protected int order
public DefaultDocumentDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, com.flowable.core.content.api.CoreContentEngineConfigurationApi contentEngineConfiguration, Function<String,org.flowable.common.engine.impl.lock.LockManager> lockManagerProvider, Set<String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
public DefaultDocumentDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, com.flowable.core.content.api.CoreContentEngineConfigurationApi contentEngineConfiguration, Function<String,org.flowable.common.engine.impl.lock.LockManager> lockManagerProvider, String deploymentName, Set<String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
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 Collection<org.springframework.core.io.Resource> collectDeploymentResources(Collection<org.springframework.core.io.Resource> resources)
protected void deploy(Collection<org.springframework.core.io.Resource> resources, String tenantId)
Copyright © 2019. All rights reserved.