public interface BootstrapPropertySourceLocator
PropertySource
from remote distributed configuration servers.Modifier and Type | Field and Description |
---|---|
static BootstrapPropertySourceLocator |
EMPTY_LOCATOR
An empty version that does nothing.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<PropertySource> |
findPropertySources(Environment environment)
A blocking interface that will attempt to resolve either remote or local
PropertySource instances
for the current Environment. |
static final BootstrapPropertySourceLocator EMPTY_LOCATOR
java.lang.Iterable<PropertySource> findPropertySources(Environment environment) throws ConfigurationException
PropertySource
instances
for the current Environment.environment
- The environmentPropertySource
ConfigurationException
- If the resolve fails and fail fast is set to true