public class DefaultPolicyDefinitionAutoDeployer extends Object implements ApplicationListener<ContextRefreshedEvent>, Ordered, ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationContext |
applicationContext |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected Collection<Resource> |
deploymentResources |
protected int |
order |
protected PolicyEngine |
policyEngine |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
DefaultPolicyDefinitionAutoDeployer(Collection<Resource> deploymentResources,
PolicyEngine policyEngine) |
DefaultPolicyDefinitionAutoDeployer(Collection<Resource> deploymentResources,
PolicyEngine policyEngine,
String deploymentName) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(ContextRefreshedEvent event) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setOrder(int order) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforPayloadpublic static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected Collection<Resource> deploymentResources
protected PolicyEngine policyEngine
protected String deploymentName
protected ApplicationContext applicationContext
protected int order
public DefaultPolicyDefinitionAutoDeployer(Collection<Resource> deploymentResources, PolicyEngine policyEngine)
public DefaultPolicyDefinitionAutoDeployer(Collection<Resource> deploymentResources, PolicyEngine policyEngine, String deploymentName)
public void setOrder(int order)
public void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansException