Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<ServiceRegistryEngine>
com.flowable.serviceregistry.engine.autodeployment.AbstractServiceRegistryAutoDeploymentStrategy
com.flowable.serviceregistry.engine.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<ServiceRegistryEngine>
public class DefaultAutoDeploymentStrategy extends AbstractServiceRegistryAutoDeploymentStrategy
- Author:
- Filip Hrisafov
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
autoDeployTenants
static java.lang.String
DEPLOYMENT_MODE
The deployment mode this strategy handles. -
Constructor Summary
Constructors Constructor Description DefaultAutoDeploymentStrategy()
DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, java.util.Set<java.lang.String> autoDeployTenants)
-
Method Summary
Modifier and Type Method Description protected java.util.Collection<org.springframework.core.io.Resource>
collectDeployments(org.springframework.core.io.Resource[] resources, ServiceResourceConverter serviceResourceConverter)
protected void
deploy(java.lang.String deploymentNameHint, java.util.Collection<org.springframework.core.io.Resource> resources, ServiceRegistryRepositoryService serviceRepositoryService, java.lang.String tenantId)
protected void
deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, ServiceRegistryEngine engine)
protected java.lang.String
getDeploymentMode()
Methods inherited from class com.flowable.serviceregistry.engine.autodeployment.AbstractServiceRegistryAutoDeploymentStrategy
addResource, addResource, getLockManager
Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Field Details
-
DEPLOYMENT_MODE
public static final java.lang.String DEPLOYMENT_MODEThe deployment mode this strategy handles.- See Also:
- Constant Field Values
-
autoDeployTenants
protected final java.util.Set<java.lang.String> autoDeployTenants
-
-
Constructor Details
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy() -
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties, java.util.Set<java.lang.String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
protected java.lang.String getDeploymentMode()- Specified by:
getDeploymentMode
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<ServiceRegistryEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, ServiceRegistryEngine engine)- Specified by:
deployResourcesInternal
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<ServiceRegistryEngine>
-
deploy
protected void deploy(java.lang.String deploymentNameHint, java.util.Collection<org.springframework.core.io.Resource> resources, ServiceRegistryRepositoryService serviceRepositoryService, java.lang.String tenantId) -
collectDeployments
protected java.util.Collection<org.springframework.core.io.Resource> collectDeployments(org.springframework.core.io.Resource[] resources, ServiceResourceConverter serviceResourceConverter)
-