Search in sources :

Example 1 with TransactionalComponent

use of org.apache.jena.dboe.transaction.txn.TransactionalComponent 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;
}
Also used : TransactionalBase(org.apache.jena.dboe.transaction.txn.TransactionalBase) TransactionalComponent(org.apache.jena.dboe.transaction.txn.TransactionalComponent)

Aggregations

TransactionalBase (org.apache.jena.dboe.transaction.txn.TransactionalBase)1 TransactionalComponent (org.apache.jena.dboe.transaction.txn.TransactionalComponent)1