if (txSyncRegistry != null) {
tx.transactionSynchronizationRegistryLookup(new TransactionSynchronizationRegistryProvider(txSyncRegistry));
}
EmbeddedCacheManager manager = new DefaultCacheManager(global, defaultConfig, false);
manager.addListener(this);
// Add named configurations
for (Map.Entry<String, Configuration> entry: this.configuration.getConfigurations().entrySet()) {
Configuration overrides = entry.getValue();
Configuration configuration = defaults.getDefaultConfiguration(overrides.getCacheMode()).clone();
configuration.applyOverrides(overrides);