Class CDIExtension
- java.lang.Object
-
- org.wildfly.extension.microprofile.health.deployment.CDIExtension
-
- All Implemented Interfaces:
javax.enterprise.inject.spi.Extension
public class CDIExtension extends Object implements javax.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(javax.enterprise.inject.spi.BeforeShutdown bs)Called when the deployment is undeployed.voidvetoSmallryeHealthReporter(javax.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 javax.enterprise.inject.spi.BeforeShutdown bs)Called when the deployment is undeployed.Remove all the instances of
HealthCheckfrom theMicroProfileHealthReporter.
-
vetoSmallryeHealthReporter
public void vetoSmallryeHealthReporter(@Observes javax.enterprise.inject.spi.ProcessAnnotatedType<io.smallrye.health.SmallRyeHealthReporter> pat)
-
-