Package io.helidon.microprofile.health
Class HealthCdiExtension
java.lang.Object
io.helidon.microprofile.servicecommon.HelidonRestCdiExtension
io.helidon.microprofile.health.HealthCdiExtension
- All Implemented Interfaces:
Extension
Health extension.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.microprofile.servicecommon.HelidonRestCdiExtension
HelidonRestCdiExtension.WorkItemsManager<W>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerService
(Object event, ServerCdiExtension server) Register the Health observer with server observer feature.Methods inherited from class io.helidon.microprofile.servicecommon.HelidonRestCdiExtension
clearAnnotationInfo, componentConfig, isConcreteNonInterceptor, isOwnProducerOrNonDefaultQualified, nestedConfigKey, observeManagedBeans, prepareRuntime, processManagedBean, producers, recordAnnotatedType, recordProducerField, recordProducerMethod, rootConfig, routingBuilder
-
Constructor Details
-
HealthCdiExtension
public HealthCdiExtension()Creates a new instance of the health CDI extension.
-
-
Method Details
-
registerService
public void registerService(@Observes @Priority(1010) @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object event, ServerCdiExtension server) Register the Health observer with server observer feature. This is a CDI observer method invoked by CDI machinery.- Parameters:
event
- event objectserver
- Server CDI extension
-