Interface TransactionalExecutorFactory


@PublicApi public interface TransactionalExecutorFactory
Provided by the host application for creating TransactionalExecutor.

Note that the TransactionalExecutors created are not considered thread safe.

Since:
3.0
  • Method Details

    • create

      default TransactionalExecutor create()
      Create a transactional executor with readOnly not set and requiresNew not set
    • createReadOnly

      default TransactionalExecutor createReadOnly()
      Create a transactional executor with readOnly set and requiresNew not set
    • createExecutor

      default TransactionalExecutor createExecutor(boolean readOnly, boolean requiresNew)
      Create a transactional executor
      Parameters:
      readOnly - initial value for readOnly
      requiresNew - initial value for requiresNew
    • createExecutor

      @Deprecated default TransactionalExecutor createExecutor()
      Deprecated.
      As of release 3.1.0, replaced by createReadOnly() Create a transactional executor with readOnly set and requiresNew not set