Interface TransactionalJobRule


public interface TransactionalJobRule
TransactionalJobRule is the interface that should be used to make an rule transactional.

Classes implementing this interface should always implement the JobRule interface, too.

  • Method Summary

    Modifier and Type
    Method
    Description
    For every list entry returned by this method a new transaction will be opened.
  • Method Details

    • getTransactionalObjects

      List<Object> getTransactionalObjects(JobContext context)
      For every list entry returned by this method a new transaction will be opened.

      This is done automatically by the job runtime mechanism, which calls the execute method of JobRule for every object.
      The single transactional object is accessible from the JobContext via getTransactionalObject

      Parameters:
      context -
      Returns: