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 Object
implements InfoSource
An InfoSource that retrieves values under the info key from configuration sources.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.context.env.PropertySource>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Constructor Details
-
ConfigurationInfoSource
public ConfigurationInfoSource(io.micronaut.context.env.Environment environment) - Parameters:
environment- TheEnvironment
-
-
Method Details
-
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.
-