Class DefaultFormDefinitionAutoDeployer

java.lang.Object
com.flowable.platform.common.deployer.CommonAutoDeployer
com.flowable.platform.common.deployer.DefaultFormDefinitionAutoDeployer
All Implemented Interfaces:
java.util.EventListener, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered

public class DefaultFormDefinitionAutoDeployer
extends CommonAutoDeployer
implements org.springframework.core.Ordered
  • Field Details

  • Constructor Details

    • DefaultFormDefinitionAutoDeployer

      public DefaultFormDefinitionAutoDeployer​(java.util.Collection<org.springframework.core.io.Resource> formResources, com.flowable.form.engine.FormEngineConfiguration formEngineConfiguration, java.util.Set<java.lang.String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
      Parameters:
      formResources - the resources that should be deployed
      formEngineConfiguration - the engine configuration
      autoDeployTenants - the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)
    • DefaultFormDefinitionAutoDeployer

      public DefaultFormDefinitionAutoDeployer​(java.util.Collection<org.springframework.core.io.Resource> formResources, com.flowable.form.engine.FormEngineConfiguration formEngineConfiguration, java.lang.String deploymentName, java.util.Set<java.lang.String> autoDeployTenants, org.flowable.common.spring.CommonAutoDeploymentProperties deploymentProperties)
      Parameters:
      formResources - the resources that should be deployed
      formEngineConfiguration - the engine configuration
      deploymentName - the name of the deployment
      autoDeployTenants - the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • setOrder

      public void setOrder​(int order)
    • deployResourcesInternal

      protected void deployResourcesInternal​(java.util.Collection<org.springframework.core.io.Resource> resources)
      Description copied from class: CommonAutoDeployer
      Methods that should be implemented by sub classes to perform the actual deployment. If use lock for deployments is used than this methods is called with an already acquired lock.
      Specified by:
      deployResourcesInternal in class CommonAutoDeployer
      Parameters:
      resources - the resources to be deployed
    • getLockManager

      protected org.flowable.common.engine.impl.lock.LockManager getLockManager()
      Description copied from class: CommonAutoDeployer
      Get the lock manager for the current deployer. Used when the strategy has been configured to use lock for deployments.
      Specified by:
      getLockManager in class CommonAutoDeployer
      Returns:
      the lock manager
    • deploy

      protected void deploy​(java.util.Collection<org.springframework.core.io.Resource> resources, java.lang.String tenantId)