if (config.transport().transport() != null)
legacy.transport().transportClass(config.transport().transport().getClass());
// Implicitly enables stats
legacy.globalJmxStatistics()
.jmxDomain(config.globalJmxStatistics().domain())
.mBeanServerLookup(config.globalJmxStatistics().mbeanServerLookup())
.allowDuplicateDomains(config.globalJmxStatistics().allowDuplicateDomains())
.cacheManagerName(config.globalJmxStatistics().cacheManagerName())
.withProperties(config.globalJmxStatistics().properties());