com.bazaarvoice.emodb.common.dropwizard.guice.Global Maven / Gradle / Ivy
package com.bazaarvoice.emodb.common.dropwizard.guice;
import com.google.inject.BindingAnnotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Guice binding annotation for explicitly identifying global objects when there may be ambiguity between a global
* object and other objects with the same Java type.
*/
@BindingAnnotation
@Target({ FIELD, PARAMETER, METHOD }) @Retention(RUNTIME)
public @interface Global {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy