The TXFramework API will be removed. The org.jboss.narayana.compensations API should be used instead.
The new API is superior for these reasons:
i) offers a higher level API;
ii) The API very closely matches that of JTA, making it easier for developers to learn,
iii) It works for non-distributed transactions as well as distributed transactions.
iv) It is CDI based so only needs a CDI container to run, rather than a full Java EE server.
Interface defining at the most generic level a transaction control object which can be injected into a
framework web service or lifecycle method. Instances of this type and its subtypes can be uses
to type fields which are the target of a TxManagement attribute. A TxControl provides a set of
operations which the web service or lifecycle method can use to influence the logic of the