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 voidaddResource(Resource resource, String resourceName, EventDeploymentBuilder deploymentBuilder) protected voidaddResource(Resource resource, EventDeploymentBuilder deploymentBuilder) protected LockManagergetLockManager(EventRegistryEngine engine, String deploymentNameHint) Get the lock manager with the givenengineand 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:CommonAutoDeploymentStrategyGet the lock manager with the givenengineand thedeploymentNameHint. Used when the strategy has been configured to use lock for deployments.- Specified by:
getLockManagerin 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)
-