Class SingleResourceAutoDeploymentStrategy

java.lang.Object
org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
org.activiti.spring.autodeployment.SingleResourceAutoDeploymentStrategy
All Implemented Interfaces:
AutoDeploymentStrategy

public class SingleResourceAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
Implementation of AutoDeploymentStrategy that performs a separate deployment for each resource by name.
  • Field Details

    • DEPLOYMENT_MODE

      public static final String DEPLOYMENT_MODE
      The deployment mode this strategy handles.
      See Also:
  • Constructor Details

  • Method Details

    • getDeploymentMode

      protected String getDeploymentMode()
      Description copied from class: AbstractAutoDeploymentStrategy
      Gets the deployment mode this strategy handles.
      Specified by:
      getDeploymentMode in class AbstractAutoDeploymentStrategy
      Returns:
      the name of the deployment mode
    • deployResources

      public void deployResources(String deploymentNameHint, org.springframework.core.io.Resource[] resources, RepositoryService repositoryService)
      Description copied from interface: AutoDeploymentStrategy
      Performs deployment for the provided resources, using the provided name as a hint and the provided RepositoryService to perform deployment(s).
      Parameters:
      deploymentNameHint - the hint for the name of deployment(s) performed
      resources - the resources to be deployed
      repositoryService - the repository service to use for deployment(s)