.transactionManagerLookup(new TransactionManagerProvider(BatchModeTransactionManager.getInstance()))
.invocationBatching().enable()
.jmxStatistics().enable()
;
if (passivationDir != null) {
builder.loaders()
.passivation(true)
.preload(false)
// .preload(!purgeCacheLoader)
.addFileCacheStore()
.location(passivationDir)