public class DefaultAppAutoDeployer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
protected org.flowable.app.api.AppEngineConfigurationApi |
appEngineConfiguration |
protected org.springframework.core.io.Resource[] |
appResources |
protected Set<String> |
autoDeployTenants |
static int |
DEFAULT_ORDER |
protected int |
order |
| Constructor and Description |
|---|
DefaultAppAutoDeployer(org.springframework.core.io.Resource[] appResources,
org.flowable.app.api.AppEngineConfigurationApi appEngineConfiguration,
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 int DEFAULT_ORDER
protected org.springframework.core.io.Resource[] appResources
protected org.flowable.app.api.AppEngineConfigurationApi appEngineConfiguration
protected int order
public DefaultAppAutoDeployer(org.springframework.core.io.Resource[] appResources,
org.flowable.app.api.AppEngineConfigurationApi appEngineConfiguration,
Set<String> autoDeployTenants)
appResources - the resources that should be deployedappEngineConfiguration - 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 int getOrder()
getOrder in interface org.springframework.core.Orderedpublic 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.