@Override
	public ModuleOptionsMetadata resolve(ModuleDefinition definition) {
		if (!definition.isComposed()) {
			return resolveNormalMetadata((SimpleModuleDefinition) definition);
		}
		else {
			return resolveComposedModuleMetadata((CompositeModuleDefinition) definition);
		}

	}
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