globalConfiguration = configuration;
registerDefaultClassLoader(null);
registerComponent(this, GlobalComponentRegistry.class);
registerComponent(cacheManager, EmbeddedCacheManager.class);
registerComponent(configuration, GlobalConfiguration.class);
registerComponent(new CacheManagerJmxRegistration(), CacheManagerJmxRegistration.class);
registerComponent(new CacheManagerNotifierImpl(), CacheManagerNotifier.class);
Map<Byte, ModuleCommandFactory> factories = ModuleProperties.moduleCommandFactories();
if (factories != null && !factories.isEmpty())
registerNonVolatileComponent(factories, KnownComponentNames.MODULE_COMMAND_FACTORIES);
else