@Component public class DbExternalPropertiesAutoConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>, org.springframework.core.Ordered
PropertySource
from database table "configuration" that represents default application
configuration.
Use '' property to define pattern for which property names should be loaded from DB. If there is no defined then all property names which starts with '' will be loaded from DB.
Modifier and Type | Field and Description |
---|---|
static String |
DB_CONF_PROPERTY_SOURCE_NAME |
static int |
ORDER
Order of this listener.
|
Constructor and Description |
---|
DbExternalPropertiesAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
public static final int ORDER
ConfigFileApplicationListener
(processed application.properties).public static final String DB_CONF_PROPERTY_SOURCE_NAME
public DbExternalPropertiesAutoConfiguration()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.