org.wildfly.swarm.microprofile.health.deployment

## Class HealthExtension

- java.lang.Object
- - org.wildfly.swarm.microprofile.health.deployment.HealthExtension

-     public class HealthExtension
      extends Object

  Created by hbraun on 28.06.17.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HealthExtension()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `beforeShutdown(BeforeShutdown bs)` Called when the deployment is undeployed.
    `<T> void` | `observeResources(<any> event)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HealthExtension

          public HealthExtension()

  - ### Method Detail

    - #### observeResources

          public <T> void observeResources(<any> event)

    - #### beforeShutdown

          public void beforeShutdown(BeforeShutdown bs)

      Called when the deployment is undeployed. Remove all the instances of `HealthCheck` from the `Monitor`. Handle manually their CDI destroy lifecycle.

Copyright © 2018 JBoss by Red Hat. All rights reserved.