Class ConfigurationInfoSource
java.lang.Object
io.micronaut.management.endpoint.info.source.ConfigurationInfoSource
- All Implemented Interfaces:
Ordered
,InfoSource
@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.
- Since:
- 1.0
- Author:
- Zachary Klein
-
Constructor Details
-
ConfigurationInfoSource
- Parameters:
environment
- TheEnvironment
-
-
Method Details
-
getSource
- Specified by:
getSource
in interfaceInfoSource
- Returns:
- A publisher that returns a
PropertySource
containing data to be added to the endpoint response.
-