org.apache.camel.example.cxf.jaxrs.resources
Class BookStoreImpl

java.lang.Object
  extended by org.apache.camel.example.cxf.jaxrs.resources.BookStoreImpl
All Implemented Interfaces:
BookStore

public class BookStoreImpl
extends Object
implements BookStore


Constructor Summary
BookStoreImpl()
           
BookStoreImpl(boolean restFlag)
           
 
Method Summary
 Book addBook(Book book)
           
 Book getBook(Long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookStoreImpl

public BookStoreImpl(boolean restFlag)

BookStoreImpl

public BookStoreImpl()
Method Detail

getBook

public Book getBook(Long id)
             throws BookNotFoundFault
Specified by:
getBook in interface BookStore
Throws:
BookNotFoundFault

addBook

public Book addBook(Book book)
Specified by:
addBook in interface BookStore


Apache CAMEL