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

io.cucumber.guice.ScenarioScoped Maven / Gradle / Ivy

There is a newer version: 7.19.0
Show newest version
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 {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy