Class AbstractEventAutoDeploymentStrategy
java.lang.Object
org.flowable.common.spring.CommonAutoDeploymentStrategy<EventRegistryEngine>
org.flowable.eventregistry.spring.autodeployment.AbstractEventAutoDeploymentStrategy
- All Implemented Interfaces:
AutoDeploymentStrategy<EventRegistryEngine>
- Direct Known Subclasses:
DefaultAutoDeploymentStrategy
,ResourceParentFolderAutoDeploymentStrategy
,SingleResourceAutoDeploymentStrategy
public abstract class AbstractEventAutoDeploymentStrategy
extends CommonAutoDeploymentStrategy<EventRegistryEngine>
Abstract base class for implementations of
AutoDeploymentStrategy
.-
Field Summary
Fields inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deploymentProperties, logger
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractEventAutoDeploymentStrategy
(CommonAutoDeploymentProperties deploymentProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addResource
(Resource resource, String resourceName, EventDeploymentBuilder deploymentBuilder) protected void
addResource
(Resource resource, EventDeploymentBuilder deploymentBuilder) protected LockManager
getLockManager
(EventRegistryEngine engine, String deploymentNameHint) Get the lock manager with the givenengine
and thedeploymentNameHint
.Methods inherited from class org.flowable.common.spring.CommonAutoDeploymentStrategy
deployResources, deployResourcesInternal, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentMode, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentProperties
-
Constructor Details
-
AbstractEventAutoDeploymentStrategy
public AbstractEventAutoDeploymentStrategy() -
AbstractEventAutoDeploymentStrategy
-
-
Method Details
-
getLockManager
Description copied from class:CommonAutoDeploymentStrategy
Get the lock manager with the givenengine
and thedeploymentNameHint
. Used when the strategy has been configured to use lock for deployments.- Specified by:
getLockManager
in classCommonAutoDeploymentStrategy<EventRegistryEngine>
- Parameters:
engine
- the engine that can be used to get the lock manager.deploymentNameHint
- the deployment name hint- Returns:
- the lock manager
-
addResource
-
addResource
protected void addResource(Resource resource, String resourceName, EventDeploymentBuilder deploymentBuilder)
-