Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
TransactionCollection |
|
| 0.0;0 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.transaction; | |
8 | ||
9 | import org.mule.api.transaction.Transaction; | |
10 | ||
11 | import java.util.List; | |
12 | ||
13 | /** | |
14 | * Marks a collection of transactions, e.g. a set of single-resource TXs managed as | |
15 | * a single unit of work, but without resorting to XA. | |
16 | */ | |
17 | public interface TransactionCollection | |
18 | { | |
19 | void aggregate(AbstractSingleResourceTransaction tx); | |
20 | ||
21 | List<Transaction> getTxCollection(); | |
22 | } |