Package io.helidon.microprofile.health
Class HealthCdiExtension
java.lang.Object
io.helidon.servicecommon.restcdi.HelidonRestCdiExtension<HealthSupport>
io.helidon.microprofile.health.HealthCdiExtension
- All Implemented Interfaces:
Extension
Health extension.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.servicecommon.restcdi.HelidonRestCdiExtension
HelidonRestCdiExtension.WorkItemsManager<W>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
processManagedBean
(ProcessManagedBean<?> processManagedBean) Deals with a managed bean that survived vetoing, provided by concrete extension implementations.registerService
(Object adv, BeanManager bm, ServerCdiExtension server) Registers the service-related endpoint, after security and as CDI initializes the app scope, returning the default routing for optional use by the caller.Methods inherited from class io.helidon.servicecommon.restcdi.HelidonRestCdiExtension
clearAnnotationInfo, isConcreteNonInterceptor, isOwnProducerOrNonDefaultQualified, observeManagedBeans, producers, recordAnnotatedType, recordProducerField, recordProducerMethod, seComponentConfig, serviceSupport
-
Constructor Details
-
HealthCdiExtension
public HealthCdiExtension()Creates a new instance of the health CDI extension.
-
-
Method Details
-
registerService
public Routing.Builder registerService(@Observes @Priority(1010) @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object adv, BeanManager bm, ServerCdiExtension server) Description copied from class:HelidonRestCdiExtension
Registers the service-related endpoint, after security and as CDI initializes the app scope, returning the default routing for optional use by the caller.- Overrides:
registerService
in classHelidonRestCdiExtension<HealthSupport>
- Parameters:
adv
- app-scoped initialization eventbm
- BeanManagerserver
- the ServerCdiExtension- Returns:
- default routing
-
processManagedBean
Description copied from class:HelidonRestCdiExtension
Deals with a managed bean that survived vetoing, provided by concrete extension implementations.The meaning of "process" varies among the concrete implementations. At this point, this base implementation has managed the annotation processing in a general way (e.g., only non-vetoed beans survive) and now delegates to the concrete implementations to actually respond appropriately to the bean and whichever of its members are annotated.
- Specified by:
processManagedBean
in classHelidonRestCdiExtension<HealthSupport>
- Parameters:
processManagedBean
- the managed bean, with at least one annotation of interest to the extension
-