public class DefaultActionDefinitionAutoDeployer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected ActionEngineConfiguration |
actionEngineConfiguration |
protected Set<String> |
autoDeployTenants |
protected org.springframework.core.io.Resource[] |
customActionResources |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected org.springframework.core.io.Resource[] |
defaultActionResources |
protected String |
deploymentName |
protected int |
order |
protected List<org.springframework.core.io.Resource> |
priorityResources |
Constructor and Description |
---|
DefaultActionDefinitionAutoDeployer(org.springframework.core.io.Resource[] defaultActionResources,
org.springframework.core.io.Resource[] customActionResources,
List<org.springframework.core.io.Resource> priorityResources,
ActionEngineConfiguration actionEngineConfiguration,
Set<String> autoDeployTenants) |
DefaultActionDefinitionAutoDeployer(org.springframework.core.io.Resource[] defaultActionResources,
org.springframework.core.io.Resource[] customActionResources,
List<org.springframework.core.io.Resource> priorityResources,
ActionEngineConfiguration actionEngineConfiguration,
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[] defaultActionResources
protected org.springframework.core.io.Resource[] customActionResources
protected List<org.springframework.core.io.Resource> priorityResources
protected ActionEngineConfiguration actionEngineConfiguration
protected String deploymentName
protected int order
public DefaultActionDefinitionAutoDeployer(org.springframework.core.io.Resource[] defaultActionResources, org.springframework.core.io.Resource[] customActionResources, List<org.springframework.core.io.Resource> priorityResources, ActionEngineConfiguration actionEngineConfiguration, Set<String> autoDeployTenants)
public DefaultActionDefinitionAutoDeployer(org.springframework.core.io.Resource[] defaultActionResources, org.springframework.core.io.Resource[] customActionResources, List<org.springframework.core.io.Resource> priorityResources, ActionEngineConfiguration actionEngineConfiguration, String deploymentName, Set<String> autoDeployTenants)
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.