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.

    Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy

    deploymentProperties, logger
  • 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getDeploymentMode

      protected java.lang.String getDeploymentMode()
      Specified by:
      getDeploymentMode in class org.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 class org.flowable.common.spring.CommonAutoDeploymentStrategy<FormEngine>