}
SoftLockFactory softLockFactory = cacheManager.createSoftLockFactory(this);
TransactionIDFactory transactionIDFactory = cacheManager.createTransactionIDFactory();
// 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);