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

cucumber.runtime.java.hk2.ScenarioScoped Maven / Gradle / Ivy

package cucumber.runtime.java.hk2;

import javax.inject.Scope;
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;

/**
 * Cucumber Scenario scope binding annotation. Limit the scope of an object to the lifecycle of a Scenario.
 */
@Target({TYPE, METHOD})
@Retention(RUNTIME)
@Scope
public @interface ScenarioScoped {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy