com.netflix.governator.annotations.Modules Maven / Gradle / Ivy
package com.netflix.governator.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.google.inject.Module;
import com.netflix.governator.guice.annotations.Bootstrap;
import com.netflix.governator.guice.bootstrap.ModulesBootstrap;
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Bootstrap(bootstrap=ModulesBootstrap.class)
@Deprecated
/**
* @deprecated Use Guice's built in module deduping using hashCode and equals instead
* http://www.mattinsler.com/post/26548709502/google-guice-module-de-duplication
*/
public @interface Modules {
/**
* Modules to include
*/
Class extends Module>[] include() default {};
/**
* Modules to exclude
*/
Class extends Module>[] exclude() default {};
/**
* Modules to force include if there is an exclude
*/
Class extends Module>[] force() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy