public class ApplicationPropertySource extends org.springframework.core.env.EnumerablePropertySource<Deque<org.springframework.core.env.PropertySource<?>>>
application name (from the Spring application context): WebStudio
Spring active profiles: prod, qa
locations: file:, file:openl.properties, file:openl/
names: application.properties, {appName}.properties, {profile}.properties
Then the list of resources to search is (next resource overides previous):
openl.config.name or spring.config.name properties for names. openl.config.location or spring.config.location properties for folders and locations.
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPS_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperty(String name) |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
public static final String PROPS_NAME
public Object getProperty(String name)
getProperty in class org.springframework.core.env.PropertySource<Deque<org.springframework.core.env.PropertySource<?>>>public boolean containsProperty(String name)
containsProperty in class org.springframework.core.env.EnumerablePropertySource<Deque<org.springframework.core.env.PropertySource<?>>>Copyright © 2004–2022 OpenL Tablets. All rights reserved.