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

governator.junit.config.LifecycleInjectorParams Maven / Gradle / Ivy

package governator.junit.config;

import com.google.inject.Module;
import com.netflix.governator.guice.BootstrapModule;
import com.netflix.governator.guice.annotations.Bootstrap;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Parameters required to boot up a Governator {@link com.netflix.governator.guice.LifecycleInjector} for a Junit test
 *
 * @author Biju Kunjummen
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface LifecycleInjectorParams {
    Class bootstrapModule() default Bootstrap.NullBootstrapModule.class;
    Class[] additionalBootstrapModules() default {};
    Class[] modules();
    String[] scannedPackages() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy