Package io.micronaut.crac.info
Class CracInfoSource
java.lang.Object
io.micronaut.crac.info.CracInfoSource
- All Implemented Interfaces:
io.micronaut.core.order.Ordered,io.micronaut.management.endpoint.info.InfoSource
@Singleton
@Requires(beans=io.micronaut.management.endpoint.info.InfoEndpoint.class,classes=org.crac.management.CRaCMXBean.class) @Requires(property="endpoints.info.crac.enabled",notEquals="false",defaultValue="true")
public class CracInfoSource
extends Object
implements io.micronaut.management.endpoint.info.InfoSource
Exposes the information contained in the CRaC MXBean via the
InfoEndpoint.- Since:
- 2.1.0
- Author:
- Tim Yates
-
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
-
CracInfoSource
public CracInfoSource()
-
-
Method Details
-
getSource
public org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getSource()- Specified by:
getSourcein interfaceio.micronaut.management.endpoint.info.InfoSource
-