TransactionSynchronizationRegistry transactionSynchronizationRegistry =
this.configuration.getTransactionSynchronizationRegistry();
if (transactionSynchronizationRegistry != null) {
defaultConfig.fluent().transaction().transactionSynchronizationRegistryLookup(
new TransactionSynchronizationRegistryProvider(transactionSynchronizationRegistry));
}
EmbeddedCacheManager manager = new DefaultCacheManager(global, defaultConfig, false);
manager.addListener(this);
// Add named configurations