private ModuleOptionsMetadata resolveComposedModuleMetadata(CompositeModuleDefinition definition) {
		Map<String, ModuleOptionsMetadata> hierarchy = new HashMap<String, ModuleOptionsMetadata>();
		for (ModuleDefinition subModuleDefinition : definition.getChildren()) {
			ModuleOptionsMetadata subMetadata = compositeResolver.resolve(subModuleDefinition);
			// TODO: should be .getAlias() instead of name
			hierarchy.put(subModuleDefinition.getName(), subMetadata);
		}
		return new HierarchicalCompositeModuleOptionsMetadata(hierarchy);
	}
Set to true to create a new classloader (ParentLastURLClassLoader) when loading
the module options metadata classes.

@param shouldCreateModuleClassLoader
spring-xd-module/src/main/java/org/springframework/xd/module/options/DefaultModuleOptionsMetadataResolver.java