Package org.springframework.xd.dirt.stream

Examples of org.springframework.xd.dirt.stream.NoSuchDefinitionException


  @ResponseStatus(HttpStatus.OK)
  @ResponseBody
  public ResourceSupport display(@PathVariable("name") String name) {
    final D definition = deployer.findOne(name);
    if (definition == null) {
      throw new NoSuchDefinitionException(name, "There is no definition named '%s'");
    }
    R resource = resourceAssemblerSupport.toResource(definition);
    return enhanceWithDeployment(definition, resource);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.stream.NoSuchDefinitionException

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.