public class FileExternalPropertiesAutoConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>, org.springframework.core.Ordered
PropertySource
from classpath:/openhub.properties external location
that will override all application properties.Modifier and Type | Field and Description |
---|---|
static String |
OPENHUB_PROPERTIES_LOCATION |
static String |
OPENHUB_PROPERTY_SOURCE_NAME |
static int |
ORDER
Order of this listener.
|
Constructor and Description |
---|
FileExternalPropertiesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event) |
public static final int ORDER
ConfigFileApplicationListener
(processed
application.properties)public static final String OPENHUB_PROPERTIES_LOCATION
public static final String OPENHUB_PROPERTY_SOURCE_NAME
public FileExternalPropertiesAutoConfiguration()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.