Class ConfigurationInfoSource
- java.lang.Object
-
- io.micronaut.management.endpoint.info.source.ConfigurationInfoSource
-
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,InfoSource
@Refreshable @Requires(beans=InfoEndpoint.class) @Requires(property="endpoints.info.config.enabled",notEquals="false") public class ConfigurationInfoSource extends java.lang.Object implements InfoSource
An
InfoSourcethat retrieves values under the info key from configuration sources.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ConfigurationInfoSource(io.micronaut.context.env.Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource>getSource()
-
-
-
Method Detail
-
getSource
public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getSource()
- Specified by:
getSourcein interfaceInfoSource- Returns:
- A publisher that returns a
PropertySourcecontaining data to be added to the endpoint response.
-
-