[MDSAL-432] Integrate TransactionChain transaction merging into the API contract Created: 05/Apr/19 Updated: 11/Apr/19 Resolved: 11/Apr/19 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding API, DOM API |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Having PingPongDataBroker on the side is troublesome from service injection perspective and it requires multiple brokers to be injected into some applications. The requisite functionality can easily be supported as a decorator by implementations, hence expand (DOM)TransactionChain with a new createMergingTransactionChain() method, which creates such transaction chain. Provide PingPongTransactionChain in DOM SPI so implementation's job is easier and use it in the implementations we have. |