public class DefaultFormDefinitionAutoDeployer extends CommonAutoDeployer implements Ordered
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
autoDeployTenants |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected FormEngineConfiguration |
formEngineConfiguration |
protected int |
order |
applicationContext, deploymentProperties, deploymentResourcesHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
DefaultFormDefinitionAutoDeployer(Collection<Resource> formResources,
FormEngineConfiguration formEngineConfiguration,
Set<String> autoDeployTenants,
CommonAutoDeploymentProperties deploymentProperties) |
DefaultFormDefinitionAutoDeployer(Collection<Resource> formResources,
FormEngineConfiguration formEngineConfiguration,
String deploymentName,
Set<String> autoDeployTenants,
CommonAutoDeploymentProperties deploymentProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deploy(Collection<Resource> resources,
String tenantId) |
protected void |
deployResourcesInternal(Collection<Resource> resources)
Methods that should be implemented by sub classes to perform the actual deployment.
|
protected LockManager |
getLockManager()
Get the lock manager for the current deployer.
|
int |
getOrder() |
void |
setOrder(int order) |
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, onApplicationEvent, setApplicationContext, setDeploymentPropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadpublic static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected FormEngineConfiguration formEngineConfiguration
protected String deploymentName
protected int order
public DefaultFormDefinitionAutoDeployer(Collection<Resource> formResources, FormEngineConfiguration formEngineConfiguration, Set<String> autoDeployTenants, CommonAutoDeploymentProperties deploymentProperties)
formResources - the resources that should be deployedformEngineConfiguration - the engine configurationautoDeployTenants - the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public DefaultFormDefinitionAutoDeployer(Collection<Resource> formResources, FormEngineConfiguration formEngineConfiguration, String deploymentName, Set<String> autoDeployTenants, CommonAutoDeploymentProperties deploymentProperties)
formResources - the resources that should be deployedformEngineConfiguration - the engine configurationdeploymentName - the name of the deploymentautoDeployTenants - the tenants to which the auto deployment should be done (if empty then a single deployment is done without using tenant)public void setOrder(int order)
protected void deployResourcesInternal(Collection<Resource> resources)
CommonAutoDeployerdeployResourcesInternal in class CommonAutoDeployerresources - the resources to be deployedprotected LockManager getLockManager()
CommonAutoDeployergetLockManager in class CommonAutoDeployerprotected void deploy(Collection<Resource> resources, String tenantId)