Annotation Type JGivenStage


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    @Component
    @Scope("prototype")
    public @interface JGivenStage
    Annotation that marks a bean as JGiven Stage. This component will be in created in prototype scope to ensure that each test run receives a fresh (empty) instance of the bean.
    Since:
    0.8.0
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
    • Element Detail

      • value

        java.lang.String value
        The value may indicate a suggestion for a logical component name, to be turned into a Spring bean in case of an autodetected component.
        Returns:
        the suggested component name, if any
        Default:
        ""