EmbeddedCacheManager cacheManager,
Set<String> createdCaches) {
ClassLoader configuredClassLoader = configuration.classLoader();
moduleLifecycles = moduleProperties.resolveModuleLifecycles(configuredClassLoader);
componentMetadataRepo = new ComponentMetadataRepo();
// Load up the component metadata
componentMetadataRepo.initialize(moduleProperties.getModuleMetadataFiles(configuredClassLoader), configuredClassLoader);
defaultClassLoader = new WeakReference<ClassLoader>(registerDefaultClassLoader(configuredClassLoader));