@Refreshable @Requires(beans=InfoEndpoint.class) @Requires(property="endpoints.info.config.enabled",notEquals="false") public class ConfigurationInfoSource extends java.lang.Object implements InfoSource
An InfoSource
that retrieves values under the info key from configuration sources.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ConfigurationInfoSource(Environment environment) |
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<PropertySource> |
getSource() |
public ConfigurationInfoSource(Environment environment)
environment
- The Environment
public org.reactivestreams.Publisher<PropertySource> getSource()
getSource
in interface InfoSource
PropertySource
containing data to be added to the endpoint response.