Class DefaultAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<WorkObjectEngine>
com.flowable.workobject.spring.autodeployment.AbstractWorkObjectAutoDeploymentStrategy
com.flowable.workobject.spring.autodeployment.DefaultAutoDeploymentStrategy
- All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<WorkObjectEngine>
public class DefaultAutoDeploymentStrategy extends AbstractWorkObjectAutoDeploymentStrategy
Default implementation of
AutoDeploymentStrategy
that groups all Resource
s into a single deployment.
This implementation is equivalent to the previously used implementation.-
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, WorkObjectEngine engine)
protected java.lang.String
getDeploymentMode()
Methods inherited from class com.flowable.workobject.spring.autodeployment.AbstractWorkObjectAutoDeploymentStrategy
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<WorkObjectEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, WorkObjectEngine engine)- Specified by:
deployResourcesInternal
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<WorkObjectEngine>
-