Class ResourceParentFolderAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<EventRegistryEngine>
org.flowable.eventregistry.spring.autodeployment.AbstractEventAutoDeploymentStrategy
org.flowable.eventregistry.spring.autodeployment.ResourceParentFolderAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<EventRegistryEngine>
Implementation of
AutoDeploymentStrategy
that performs a separate deployment for each set of Resources that share the same parent folder.
The namehint is used to prefix the names of deployments. If the parent folder for a Resource cannot be determined, the resource's name is used.-
Field Summary
FieldsFields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger -
Constructor Summary
ConstructorsConstructorDescriptionResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, EventRegistryEngine engine) protected StringMethods inherited from class org.flowable.eventregistry.spring.autodeployment.AbstractEventAutoDeploymentStrategy
addResource, addResource, getLockManagerMethods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Field Details
-
DEPLOYMENT_MODE
The deployment mode this strategy handles.- See Also:
-
-
Constructor Details
-
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy() -
ResourceParentFolderAutoDeploymentStrategy
public ResourceParentFolderAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties)
-
-
Method Details
-
getDeploymentMode
- Specified by:
getDeploymentModein classCommonAutoDeploymentStrategy<EventRegistryEngine>
-
deployResourcesInternal
protected void deployResourcesInternal(String deploymentNameHint, org.springframework.core.io.Resource[] resources, EventRegistryEngine engine) - Specified by:
deployResourcesInternalin classCommonAutoDeploymentStrategy<EventRegistryEngine>
-