public class DefaultTemplateDefinitionAutoDeployer extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected Collection<org.springframework.core.io.Resource> |
deploymentResources |
protected int |
order |
protected TemplateEngine |
templateEngine |
Constructor and Description |
---|
DefaultTemplateDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
TemplateEngine templateEngine) |
DefaultTemplateDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
TemplateEngine templateEngine,
String deploymentName) |
Modifier and Type | Method and Description |
---|---|
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 Collection<org.springframework.core.io.Resource> deploymentResources
protected TemplateEngine templateEngine
protected String deploymentName
protected int order
public DefaultTemplateDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, TemplateEngine templateEngine)
public DefaultTemplateDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, TemplateEngine templateEngine, String deploymentName)
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>
Copyright © 2019. All rights reserved.