All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zone.dragon.dropwizard.health.InjectableHealthCheck Maven / Gradle / Ivy

Go to download

Adds support for Health Checks, LifeCycles, Metrics, and Tasks to be injected by HK2

There is a newer version: 0.0.6
Show newest version
package zone.dragon.dropwizard.health;

import com.codahale.metrics.health.HealthCheck;
import org.glassfish.jersey.spi.Contract;

import javax.inject.Singleton;

/**
 * Marker class to tag a {@link HealthCheck} as a Jersey component; Extend this instead of the standard {@link HealthCheck} to allow
 * registration of the component with Jersey.
 *
 * @author Bryan Harclerode
 * Date 9/23/2016
 */
@Contract
@Singleton
public abstract class InjectableHealthCheck extends HealthCheck {}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy