use of org.apache.jena.dboe.transaction.txn.TransactionalBase in project jena by apache.
the class TestTransactionCoordinatorControl method init.
@Before
public void init() {
txnMgr = new TransactionCoordinator(Location.mem());
unit = new TransactionalBase(txnMgr);
txnMgr.start();
}
use of org.apache.jena.dboe.transaction.txn.TransactionalBase in project jena by apache.
the class TransactionalFactory method createTransactional.
private static Transactional createTransactional(TransactionCoordinator coord, TransactionalComponent... elements) {
for (TransactionalComponent tc : elements) {
coord.add(tc);
}
TransactionalBase base = new TransactionalBase(coord);
coord.start();
return base;
}
Aggregations