Annotation Interface ClearJobRepository


@Inherited @Retention(RUNTIME) @Target(TYPE) public @interface ClearJobRepository
Annotation to be put on a test to cause a InMemoryJobRepository to be cleared after test execution.

A bean of type InMemoryJobStorage needs to be present, InMemoryBatchConfiguration exposes such a bean.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Determines when the InMemoryJobStorage should be cleared.