public class DefaultFormDefinitionAutoDeployer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected org.flowable.form.api.FormEngineConfigurationApi |
formEngineConfiguration |
protected org.springframework.core.io.Resource[] |
formResources |
protected int |
order |
Constructor and Description |
---|
DefaultFormDefinitionAutoDeployer(org.springframework.core.io.Resource[] formResources,
org.flowable.form.api.FormEngineConfigurationApi formEngineConfiguration,
Set<String> autoDeployTenants) |
DefaultFormDefinitionAutoDeployer(org.springframework.core.io.Resource[] formResources,
org.flowable.form.api.FormEngineConfigurationApi formEngineConfiguration,
String deploymentName,
Set<String> autoDeployTenants) |
Modifier and Type | Method and Description |
---|---|
protected void |
deploy(String tenantId) |
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setOrder(int order) |
public static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected org.springframework.core.io.Resource[] formResources
protected org.flowable.form.api.FormEngineConfigurationApi formEngineConfiguration
protected String deploymentName
protected int order
public DefaultFormDefinitionAutoDeployer(org.springframework.core.io.Resource[] formResources, org.flowable.form.api.FormEngineConfigurationApi formEngineConfiguration, Set<String> autoDeployTenants)
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(org.springframework.core.io.Resource[] formResources, org.flowable.form.api.FormEngineConfigurationApi formEngineConfiguration, String deploymentName, Set<String> autoDeployTenants)
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 int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
protected void deploy(String tenantId)
Copyright © 2019. All rights reserved.