Class CDIExtension
- java.lang.Object
-
- org.wildfly.extension.microprofile.health.deployment.CDIExtension
-
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension
public class CDIExtension extends Object implements jakarta.enterprise.inject.spi.Extension
- Author:
- Jeff Mesnil (c) 2017 Red Hat inc.
-
-
Constructor Summary
Constructors Constructor Description CDIExtension(MicroProfileHealthReporter healthReporter, org.jboss.modules.Module module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeShutdown(jakarta.enterprise.inject.spi.BeforeShutdown bs)Called when the deployment is undeployed.voidvetoSmallryeHealthReporter(jakarta.enterprise.inject.spi.ProcessAnnotatedType<io.smallrye.health.SmallRyeHealthReporter> pat)
-
-
-
Constructor Detail
-
CDIExtension
public CDIExtension(MicroProfileHealthReporter healthReporter, org.jboss.modules.Module module)
-
-
Method Detail
-
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)
-
-