
zone.dragon.dropwizard.lifecycle.InjectableManaged 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.lifecycle;
import io.dropwizard.lifecycle.Managed;
import org.glassfish.jersey.spi.Contract;
import javax.inject.Singleton;
/**
* Marker interface to tag a {@link Managed} as a Jersey component; Implement this instead of the standard {@link Managed} to allow
* registration of the component with Jersey.
*
* @author Bryan Harclerode
* Date 9/23/2016
*/
@Singleton
@Contract
public interface InjectableManaged extends Managed {}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy