Top Description Methods
jakarta.batch.api

public @Interface BatchProperty

extends Annotation
Annotations
@Qualifier
@Target:FIELD, METHOD, PARAMETER
@Retention:RUNTIME
Imports
java.lang.annotation.ElementType, .Retention, .RetentionPolicy, .Target, jakarta.enterprise.util.Nonbinding, jakarta.inject.Qualifier

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.

Method Summary

Modifier and TypeMethod and Description
public String
name()

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()
Annotations
@Nonbinding