package de.hilling.junit.cdi.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import javax.annotation.Priority;
import javax.enterprise.inject.Alternative;
import javax.enterprise.inject.Stereotype;
import de.hilling.junit.cdi.scope.TestScoped;
@Alternative
@TestScoped
@Stereotype
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Priority(100)
/**
* Use this annotation to mark Alternatives that should globally replace
* production implementations.
* <p>
* These services cannot be disabled or enabled on a per test basis
* because the container is only started once.
* </p>
*/
public @interface GlobalTestImplementation {
}