Class DefaultAutoDeploymentStrategy
- java.lang.Object
-
- org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
-
- org.activiti.spring.autodeployment.DefaultAutoDeploymentStrategy
-
- All Implemented Interfaces:
AutoDeploymentStrategy
public class DefaultAutoDeploymentStrategy extends AbstractAutoDeploymentStrategy
Default implementation ofAutoDeploymentStrategy
that groups allResource
s into a single deployment. This implementation is equivalent to the previously used implementation.
-
-
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.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
LOGGER
-
-
Constructor Summary
Constructors Constructor Description DefaultAutoDeploymentStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deployResources(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.activiti.engine.RepositoryService repositoryService)
Performs deployment for the provided resources, using the provided name as a hint and the providedRepositoryService
to perform deployment(s).protected java.lang.String
getDeploymentMode()
Gets the deployment mode this strategy handles.-
Methods inherited from class org.activiti.spring.autodeployment.AbstractAutoDeploymentStrategy
determineResourceName, handlesMode, validateModel
-
-
-
-
Field Detail
-
DEPLOYMENT_MODE
public static final java.lang.String DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeploymentMode
protected java.lang.String getDeploymentMode()
Description copied from class:AbstractAutoDeploymentStrategy
Gets the deployment mode this strategy handles.- Specified by:
getDeploymentMode
in classAbstractAutoDeploymentStrategy
- Returns:
- the name of the deployment mode
-
deployResources
public void deployResources(java.lang.String deploymentNameHint, org.springframework.core.io.Resource[] resources, org.activiti.engine.RepositoryService repositoryService)
Description copied from interface:AutoDeploymentStrategy
Performs deployment for the provided resources, using the provided name as a hint and the providedRepositoryService
to perform deployment(s).- Parameters:
deploymentNameHint
- the hint for the name of deployment(s) performedresources
- the resources to be deployedrepositoryService
- the repository service to use for deployment(s)
-
-