public class DefaultServiceDefinitionAutoDeployer 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 |
protected org.springframework.core.io.Resource[] |
customServiceResources |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected int |
order |
protected ServiceRegistryEngineConfiguration |
serviceEngineConfiguration |
| Constructor and Description |
|---|
DefaultServiceDefinitionAutoDeployer(org.springframework.core.io.Resource[] customServiceResources,
ServiceRegistryEngineConfiguration serviceEngineConfiguration,
Set<String> autoDeployTenants) |
DefaultServiceDefinitionAutoDeployer(org.springframework.core.io.Resource[] customServiceResources,
ServiceRegistryEngineConfiguration serviceEngineConfiguration,
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[] customServiceResources
protected ServiceRegistryEngineConfiguration serviceEngineConfiguration
protected String deploymentName
protected int order
public DefaultServiceDefinitionAutoDeployer(org.springframework.core.io.Resource[] customServiceResources,
ServiceRegistryEngineConfiguration serviceEngineConfiguration,
Set<String> autoDeployTenants)
public DefaultServiceDefinitionAutoDeployer(org.springframework.core.io.Resource[] customServiceResources,
ServiceRegistryEngineConfiguration serviceEngineConfiguration,
String deploymentName,
Set<String> autoDeployTenants)
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.