public class DefaultPolicyDefinitionAutoDeployer 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 PolicyEngine |
policyEngine |
Constructor and Description |
---|
DefaultPolicyDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
PolicyEngine policyEngine) |
DefaultPolicyDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources,
PolicyEngine policyEngine,
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 PolicyEngine policyEngine
protected String deploymentName
protected int order
public DefaultPolicyDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, PolicyEngine policyEngine)
public DefaultPolicyDefinitionAutoDeployer(Collection<org.springframework.core.io.Resource> deploymentResources, PolicyEngine policyEngine, 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.