use of org.jboss.as.clustering.infinispan.TransactionSynchronizationRegistryProvider in project wildfly by wildfly.
the class TransactionBuilder method getValue.
@Override
public TransactionConfiguration getValue() {
TransactionManager tm = this.tm.getOptionalValue();
this.builder.transactionManagerLookup((tm != null) ? new TransactionManagerProvider(tm) : null);
TransactionSynchronizationRegistry tsr = this.tsr.getOptionalValue();
this.builder.transactionSynchronizationRegistryLookup((tsr != null) ? new TransactionSynchronizationRegistryProvider(tsr) : null);
return this.builder.create();
}
Aggregations