Class SingleResourceAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
com.flowable.form.spring.autodeployment.SingleResourceAutoDeploymentStrategy
- All Implemented Interfaces:
org.flowable.common.spring.AutoDeploymentStrategy<FormEngine>
public class SingleResourceAutoDeploymentStrategy extends AbstractFormAutoDeploymentStrategy
Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each resource by name.- Author:
- Tiese Barrell
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEPLOYMENT_MODEThe deployment mode this strategy handles. -
Constructor Summary
Constructors Constructor Description SingleResourceAutoDeploymentStrategy()SingleResourceAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and Type Method Description protected voiddeployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)protected java.lang.StringgetDeploymentMode()Methods inherited from class com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
addResource, addResource, getLockManagerMethods 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
-
SingleResourceAutoDeploymentStrategy
public SingleResourceAutoDeploymentStrategy() -
SingleResourceAutoDeploymentStrategy
public SingleResourceAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
protected java.lang.String getDeploymentMode()- Specified by:
getDeploymentModein classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)- Specified by:
deployResourcesInternalin classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-