private Module createAndConfigureModuleInstance(ModuleDescriptor moduleDescriptor, ModuleOptions moduleOptions,
			ModuleDeploymentProperties deploymentProperties) {
		Module module = moduleDescriptor.isComposed() ?
				createCompositeModule(moduleDescriptor, moduleOptions, deploymentProperties) :
				createSimpleModule(moduleDescriptor, moduleOptions, deploymentProperties);
		return module;
	}
Creates and configures a {@link org.springframework.xd.module.core.Module} after resolving {@link
org.springframework.xd.module.options.ModuleOptions}. createComposedModule() calls this for each component
module.

@param moduleDescriptor
@param moduleOptions
@param deploymentProperties
@return the module instance
spring-xd-module/src/main/java/org/springframework/xd/module/core/ModuleFactory.java