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.String
DEPLOYMENT_MODE
The 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 void
deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)
protected java.lang.String
getDeploymentMode()
Methods inherited from class com.flowable.form.spring.autodeployment.AbstractFormAutoDeploymentStrategy
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
-
SingleResourceAutoDeploymentStrategy
public SingleResourceAutoDeploymentStrategy() -
SingleResourceAutoDeploymentStrategy
public SingleResourceAutoDeploymentStrategy(org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
protected java.lang.String getDeploymentMode()- Specified by:
getDeploymentMode
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, FormEngine engine)- Specified by:
deployResourcesInternal
in classorg.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>
-