io.cucumber.guice.ScenarioScoped Maven / Gradle / Ivy
package io.cucumber.guice;
import com.google.inject.ScopeAnnotation;
import org.apiguardian.api.API;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* A custom Guice scope annotation that is usually bound to an instance of
* ScenarioScope
.
*/
@Target({TYPE, METHOD})
@Retention(RUNTIME)
@ScopeAnnotation
@API(status = API.Status.STABLE)
public @interface ScenarioScoped {
}