@Refreshable @Requires(beans=InfoEndpoint.class) @Requires(property="endpoints.info.config.enabled",notEquals="false") public class ConfigurationInfoSource extends 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) |
public ConfigurationInfoSource(Environment environment)
environment - The Environmentpublic Publisher<PropertySource> getSource()
getSource in interface InfoSourcePropertySource containing data to be added to the endpoint response.