public class CDIExtension extends Object implements javax.enterprise.inject.spi.Extension
| Constructor and Description |
|---|
CDIExtension(io.smallrye.health.SmallRyeHealthReporter healthReporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(javax.enterprise.inject.spi.BeforeShutdown bs)
Called when the deployment is undeployed.
|
void |
observeResources(javax.enterprise.inject.spi.ProcessAnnotatedType<? extends org.eclipse.microprofile.health.HealthCheck> event)
Discover all classes that implements HealthCheckProcedure
|
public CDIExtension(io.smallrye.health.SmallRyeHealthReporter healthReporter)
public void observeResources(@Observes
javax.enterprise.inject.spi.ProcessAnnotatedType<? extends org.eclipse.microprofile.health.HealthCheck> event)
public void close(@Observes
javax.enterprise.inject.spi.BeforeShutdown bs)
HealthCheck from the SmallRyeHealthReporter.
Handle manually their CDI destroy lifecycle.Copyright © 2019 JBoss by Red Hat. All rights reserved.