Class MicrometerCdiExtension
java.lang.Object
io.helidon.microprofile.servicecommon.HelidonRestCdiExtension
io.helidon.integrations.micrometer.cdi.MicrometerCdiExtension
- All Implemented Interfaces:
Extension
@Deprecated(forRemoval=true,
since="4.1")
public class MicrometerCdiExtension
extends HelidonRestCdiExtension
Deprecated, for removal: This API element is subject to removal in a future version.
To be removed in a future release. No replacement.
CDI extension for handling Micrometer artifacts.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.helidon.microprofile.servicecommon.HelidonRestCdiExtension
HelidonRestCdiExtension.WorkItemsManager<W>
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates new extension instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
before
(BeforeBeanDiscovery discovery) Deprecated, for removal: This API element is subject to removal in a future version.Initializes the extension prior to bean discovery.protected void
processManagedBean
(ProcessManagedBean<?> pmb) Deprecated, for removal: This API element is subject to removal in a future version.Deals with a managed bean that survived vetoing, provided by concrete extension implementations.protected void
recordProducerFields
(ProcessProducerField<? extends io.micrometer.core.instrument.Meter, ?> ppf) Deprecated, for removal: This API element is subject to removal in a future version.protected void
recordProducerMethods
(ProcessProducerMethod<? extends io.micrometer.core.instrument.Meter, ?> ppm) Deprecated, for removal: This API element is subject to removal in a future version.void
registerService
(Object event, BeanManager bm, ServerCdiExtension server) Deprecated, for removal: This API element is subject to removal in a future version.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.microprofile.servicecommon.HelidonRestCdiExtension
clearAnnotationInfo, componentConfig, isConcreteNonInterceptor, isOwnProducerOrNonDefaultQualified, nestedConfigKey, observeManagedBeans, prepareRuntime, producers, recordAnnotatedType, recordProducerField, recordProducerMethod, rootConfig, routingBuilder
-
Constructor Details
-
MicrometerCdiExtension
public MicrometerCdiExtension()Deprecated, for removal: This API element is subject to removal in a future version.Creates new extension instance.
-
-
Method Details
-
registerService
public void registerService(@Observes @Priority(1010) @Initialized(jakarta.enterprise.context.ApplicationScoped.class) Object event, BeanManager bm, ServerCdiExtension server) Deprecated, for removal: This API element is subject to removal in a future version.Registers the service-related endpoint, after security and as CDI initializes the app scope, returning the default routing for optional use by the caller.- Parameters:
event
- app-scoped initialization eventbm
- BeanManagerserver
- server CDI extension
-
processManagedBean
Deprecated, for removal: This API element is subject to removal in a future version.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.
- Overrides:
processManagedBean
in classHelidonRestCdiExtension
- Parameters:
pmb
- the managed bean, with at least one annotation of interest to the extension
-
before
Deprecated, for removal: This API element is subject to removal in a future version.Initializes the extension prior to bean discovery.- Parameters:
discovery
- bean discovery event
-
recordProducerFields
protected void recordProducerFields(@Observes ProcessProducerField<? extends io.micrometer.core.instrument.Meter, ?> ppf) Deprecated, for removal: This API element is subject to removal in a future version. -
recordProducerMethods
protected void recordProducerMethods(@Observes ProcessProducerMethod<? extends io.micrometer.core.instrument.Meter, ?> ppm) Deprecated, for removal: This API element is subject to removal in a future version.
-