use of cz.o2.proxima.repository.ConfigRepository in project proxima-platform by O2-Czech-Republic.
the class DirectDataOperator method getTransactionManager.
private TransactionResourceManager getTransactionManager() {
if (transactionManager == null) {
synchronized (this) {
if (transactionManager == null) {
Config config = ((ConfigRepository) repo).getConfig();
Map<String, Object> cfg = config.hasPath(ConfigConstants.TRANSACTIONS) ? config.getObject(ConfigConstants.TRANSACTIONS).unwrapped() : Collections.emptyMap();
transactionManager = new TransactionResourceManager(this, cfg);
}
}
}
return transactionManager;
}
Aggregations