Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1938

Create a DI factory for transactions, get rid of TransactionDelegate and modeler config for tx policies

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.M2
    • None
    • None

    Description

      Transactions are an important crosscut aspect of the system, so they warrant their own DI factory. Instead of DataDomain being a de-facto factory for transactions, create an explicit DI-managed factory. External/internal transaction property must be set at the DI container level, not in the Modeler.

      Documentation: document the new config property...

      UPGRADE-NOTES:

      • project using external transactions must ensure they set this as a property.
      • this feature removes support for TransactionDelegate. A custom TX factory should be used if a delegate-like functionality is desired. For example it may use a decorator around a standard transaction to intercept transaction methods.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: