Coverage Report - org.mule.example.bookstore.CatalogService
 
Classes in this File Line Coverage Branch Coverage Complexity
CatalogService
N/A
N/A
0
 
 1  
 /*
 2  
  * $Id$
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.example.bookstore;
 12  
 
 13  
 import java.util.Collection;
 14  
 
 15  
 import javax.jws.WebParam;
 16  
 import javax.jws.WebResult;
 17  
 import javax.jws.WebService;
 18  
 
 19  
 /** 
 20  
  * Interface for working with the bookstore's catalog of books 
 21  
  */
 22  
 @WebService
 23  
 public interface CatalogService
 24  
 {
 25  
     /** The catalog will be accesible as a web service at this URL */
 26  
     static final String URL = "http://0.0.0.0:8777/services/catalog";
 27  
 
 28  
     /** Return a collection of all books in the catalog */
 29  
     @WebResult(name="books") 
 30  
     Collection<Book> getBooks();
 31  
 
 32  
     /** Look up the details for a particular book by ID */
 33  
     @WebResult(name="book") 
 34  
     Book getBook(@WebParam(name="bookId") long bookId);
 35  
 }