Annotation Type BatchProperty


  • @Qualifier
    @Target({FIELD,METHOD,PARAMETER})
    @Retention(RUNTIME)
    public @interface BatchProperty
    Annotation used by batch artifacts and CDI Beans to declare a field or other element which is injectable via a JSL-defined value (possibly leveraging Job XML substitutions). Note by "batch artifact" we mean an implementation of one of the interfaces in one of the jakarta.batch.* packages, implementing some portion of a job. For a "batch-managed artifact", (a "batch artifact" loaded by the batch implementation but not as a CDI Bean), this annotation can only be used on a field. For a CDI Bean, which may be a "batch artifact" or may be some other Bean loaded in the scope of a batch artifact according to the Jakarta Batch specification, this annotation may also be used on a constructor parameter or method parameter.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name  
    • Element Detail

      • name

        String name
        Default:
        ""