Class CDIExtension
java.lang.Object
org.wildfly.extension.microprofile.health.deployment.CDIExtension
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension
- Author:
- Jeff Mesnil (c) 2017 Red Hat inc.
-
Constructor Summary
ConstructorsConstructorDescriptionCDIExtension(MicroProfileHealthReporter healthReporter, org.jboss.modules.Module module) -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeShutdown(jakarta.enterprise.inject.spi.BeforeShutdown bs) Called when the deployment is undeployed.voidvetoSmallryeHealthReporter(jakarta.enterprise.inject.spi.ProcessAnnotatedType<io.smallrye.health.SmallRyeHealthReporter> pat)
-
Constructor Details
-
CDIExtension
-
-
Method Details
-
beforeShutdown
public void beforeShutdown(@Observes jakarta.enterprise.inject.spi.BeforeShutdown bs) Called when the deployment is undeployed.Remove all the instances of
HealthCheckfrom theMicroProfileHealthReporter. -
vetoSmallryeHealthReporter
public void vetoSmallryeHealthReporter(@Observes jakarta.enterprise.inject.spi.ProcessAnnotatedType<io.smallrye.health.SmallRyeHealthReporter> pat)
-