use of org.jboss.as.clustering.infinispan.InfinispanXAResourceRecovery in project wildfly by wildfly.
the class XAResourceRecoveryServiceConfigurator method get.
@Override
public XAResourceRecovery get() {
Cache<?, ?> cache = this.cache.get();
XAResourceRecovery recovery = new InfinispanXAResourceRecovery(cache);
if (cache.getCacheConfiguration().transaction().recovery().enabled()) {
this.registry.get().addXAResourceRecovery(recovery);
}
return recovery;
}
Aggregations