GlobalJmxStatisticsConfigurationBuilder jmxBuilder = builder.globalJmxStatistics().cacheManagerName(this.name);
MBeanServer server = this.dependencies.getMBeanServer();
if (server != null && this.statistics) {
jmxBuilder.enable()
.mBeanServerLookup(new MBeanServerProvider(server))
.jmxDomain(EmbeddedCacheManagerService.getServiceName(null).getCanonicalName())
.allowDuplicateDomains(true)
;
} else {