Package org.springframework.xd.dirt.cluster

Examples of org.springframework.xd.dirt.cluster.NoContainerException


      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();
  }
View Full Code Here


    for (Container container : containers) {
      writeDeployment(moduleDescriptor, provider.propertiesForDescriptor(moduleDescriptor), container, collector);
    }
    Collection<ModuleDeploymentStatus> statuses = processResults(collector);
    if (statuses.isEmpty()) {
      throw new NoContainerException();
    }
    return statuses;
  }
View Full Code Here

      ContainerMatcher containerMatcher) throws Exception {
    transitionToDeploying(moduleDeployment.deploymentUnit);
    Collection<Container> matchedContainers = containerMatcher.match(moduleDeployment.moduleDescriptor,
        moduleDeployment.runtimeDeploymentProperties, containerRepository.findAll());
    if (matchedContainers.isEmpty()) {
      throw new NoContainerException();
    }
    return moduleDeploymentWriter.writeDeployment(moduleDeployment.moduleDescriptor,
        moduleDeployment.runtimeDeploymentProperties, matchedContainers.iterator().next());
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.cluster.NoContainerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.