*/
public TransactionManager(BrokerPool pool, File dataDir, boolean transactionsEnabled) throws EXistException {
this.pool = pool;
enabled = transactionsEnabled;
if (enabled)
{journal = new Journal(pool, dataDir);}
final Boolean groupOpt = (Boolean) pool.getConfiguration().getProperty(PROPERTY_RECOVERY_GROUP_COMMIT);
if (groupOpt != null) {
groupCommit = groupOpt.booleanValue();
if (LOG.isDebugEnabled())
{LOG.debug("GroupCommits = " + groupCommit);}