public class EnvironmentPostProcessingApplicationListener extends Object implements org.springframework.context.ApplicationListener<ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
ApplicationListener that responds to an
ApplicationEnvironmentPreparedEvent and calls all
EnvironmentPostProcessors that are available via
spring.factories.
Post-processors are called in the order defined by
AnnotationAwareOrderComparator.
SpringFactoriesLoader.loadFactories(Class, ClassLoader)| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER |
| Constructor and Description |
|---|
EnvironmentPostProcessingApplicationListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
onApplicationEvent(ApplicationEnvironmentPreparedEvent event) |
public static final int ORDER
public EnvironmentPostProcessingApplicationListener()
public void onApplicationEvent(ApplicationEnvironmentPreparedEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<ApplicationEnvironmentPreparedEvent>public int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2015 Pivotal Software, Inc.. All rights reserved.