Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
com.flowable.app.engine.impl.autodeployment.AbstractAppAutoDeploymentStrategy
com.flowable.app.engine.impl.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<AppEngine>
public class DefaultAutoDeploymentStrategy extends AbstractAppAutoDeploymentStrategy
Default Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each resource by name.- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
Fields Modifier and Type Field Description 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)
-
Method Summary
Modifier and Type Method Description protected void
deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, AppEngine engine)
protected java.lang.String
getDeploymentMode()
Methods inherited from class com.flowable.app.engine.impl.autodeployment.AbstractAppAutoDeploymentStrategy
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
-
-
Constructor Details
-
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy() -
DefaultAutoDeploymentStrategy
public DefaultAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
protected java.lang.String getDeploymentMode()- Specified by:
getDeploymentMode
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, AppEngine engine)- Specified by:
deployResourcesInternal
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<AppEngine>
-