FileDocCategorySizeDatePackage
SmallBookQuery.javaAPI DocExample1401Fri Oct 11 11:54:58 BST 2002ora.jwsnut.chapter6.smallbookservice

SmallBookQuery

public interface SmallBookQuery implements Remote
The interface definition for the small book web service.

Fields Summary
Constructors Summary
Methods Summary
public abstract voidgetBookAuthor(java.lang.String title, javax.xml.rpc.holders.StringHolder author)
Gets the author for a books with a given title

param
title the titles of the book
param
author an output parameter that will be set to the author of the given book
throws
SmallBookServiceException if the book title is unknown

public abstract intgetBookCount()
Gets the number of books known to the service

return
the number of books known to the service.

public abstract java.lang.StringgetBookTitle(int index)
Gets the title of a given book.

param
index the index of the book whose title is required
return
the title of the given book, or null if the index is not valid.

public abstract voidlog(java.lang.String value)
Makes a log entry.

param
value the value to be logged.