public class DefaultPlatformAutoDeployer extends Object implements ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>, Ordered
| 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 PlatformEngine |
platformEngine |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
DefaultPlatformAutoDeployer(Collection<Resource> deploymentResources,
PlatformEngine platformEngine) |
DefaultPlatformAutoDeployer(Collection<Resource> deploymentResources,
PlatformEngine platformEngine,
String deploymentName) |
| Modifier and Type | Method and Description |
|---|---|
void |
deployResources() |
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 ApplicationContext applicationContext
protected Collection<Resource> deploymentResources
protected PlatformEngine platformEngine
protected String deploymentName
protected int order
public DefaultPlatformAutoDeployer(Collection<Resource> deploymentResources, PlatformEngine platformEngine)
public DefaultPlatformAutoDeployer(Collection<Resource> deploymentResources, PlatformEngine platformEngine, String deploymentName)
public void setOrder(int order)
public void onApplicationEvent(ContextRefreshedEvent event)
onApplicationEvent in interface ApplicationListener<ContextRefreshedEvent>public void deployResources()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansException