# Interface TransactionFactory

All Known Implementing Classes:
  `DefaultTransactionFactory`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TransactionFactory

Since:
  4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Transaction`
  `createTransaction()`
  `Transaction`
  `createTransaction(TransactionDescriptor descriptor)`

- ## Method Details

  - ### createTransaction

    default Transaction createTransaction()

  - ### createTransaction

    Transaction createTransaction(TransactionDescriptor descriptor)
    Parameters:
      `descriptor` - with required transaction properties
    Returns:
      new transaction
    Since:
      4.1