@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 Environment
public Publisher<PropertySource> getSource()
getSource
in interface InfoSource
PropertySource
containing data to be added to the endpoint response.