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:
AutoDeploymentStrategy<ServiceRegistryEngine>
- Author:
- Filip Hrisafov
-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorDescriptionDefaultAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Resource>
collectDeployments
(Resource[] resources, ServiceResourceConverter serviceResourceConverter) protected void
deploy
(String deploymentNameHint, Collection<Resource> resources, ServiceRegistryRepositoryService serviceRepositoryService, String tenantId) protected void
deployResourcesInternal
(String deploymentNameHint, Resource[] resources, ServiceRegistryEngine engine) protected String
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
The deployment mode this strategy handles.- See Also:
-
autoDeployTenants
-
-
Constructor Details
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy() -
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentMode
in classCommonAutoDeploymentStrategy<ServiceRegistryEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, ServiceRegistryEngine engine) - Specified by:
deployResourcesInternal
in classCommonAutoDeploymentStrategy<ServiceRegistryEngine>
-
deploy
protected void deploy(String deploymentNameHint, Collection<Resource> resources, ServiceRegistryRepositoryService serviceRepositoryService, String tenantId) -
collectDeployments
protected Collection<Resource> collectDeployments(Resource[] resources, ServiceResourceConverter serviceResourceConverter)
-