protected ModuleDeploymentStatus writeDeployment(ModuleDescriptor moduleDescriptor,
			RuntimeModuleDeploymentProperties deploymentProperties, Container container)
			throws InterruptedException, NoContainerException {
		ResultCollector collector = new ResultCollector();
		writeDeployment(moduleDescriptor, deploymentProperties, container, collector);
		Collection<ModuleDeploymentStatus> statuses = processResults(collector);
		if (statuses.isEmpty()) {
			throw new NoContainerException();
		}
		return statuses.iterator().next();
	}
Write a module deployment request for the provided module descriptor
using the provided properties to the given matched container.

@param moduleDescriptor      descriptor for module to deploy
@param deploymentProperties  deployment properties for module
@param container     		the container to deploy
@return result of request
@throws InterruptedException if the executing thread is interrupted
@throws NoContainerException if there are no containers that match the criteria
                             for module deployment
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/admin/deployment/zk/ModuleDeploymentWriter.java