// this xaresource is for initial registration and recovery
EhcacheXAResource xaResource = new EhcacheXAResourceImpl(this, clusteredStore, transactionManagerLookup,
softLockFactory, transactionIDFactory);
transactionManagerLookup.register(xaResource);
wrappedStore = new XATransactionStore(transactionManagerLookup, softLockFactory, transactionIDFactory, this, clusteredStore,
copyStrategy);
} else {
wrappedStore = clusteredStore;
}