
zone.dragon.dropwizard.health.InjectableHealthCheck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-hk2 Show documentation
Show all versions of dropwizard-hk2 Show documentation
Adds support for Health Checks, LifeCycles, Metrics, and Tasks to be injected by HK2
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