cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-1938) Create a DI factory for transactions, get rid of TransactionDelegate and modeler config for tx policies
Date Sat, 17 May 2014 16:09:15 GMT
Andrus Adamchik created CAY-1938:
------------------------------------

             Summary: Create a DI factory for transactions, get rid of TransactionDelegate
and modeler config for tx policies
                 Key: CAY-1938
                 URL: https://issues.apache.org/jira/browse/CAY-1938
             Project: Cayenne
          Issue Type: Task
            Reporter: Andrus Adamchik
            Assignee: Andrus Adamchik
             Fix For: 3.2.M2


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message