1 16 17 package org.apache.jetspeed.webservices.finance.stockmarket; 18 19 import org.apache.turbine.services.Service; 20 import java.rmi.RemoteException ; 21 22 28 29 public interface StockQuoteService extends Service 30 { 31 32 public String SERVICE_NAME = "StockQuoteService"; 33 34 35 41 public String quote( String symbol ) 42 throws RemoteException ; 43 44 50 51 public StockQuote fullQuote( String symbol ) 52 throws RemoteException ; 53 54 60 public StockQuote[] fullQuotes( String [] symbol ) 61 throws RemoteException ; 62 63 68 public void setWebService( String service ); 69 70 75 public String getWebService(); 76 77 } 78 | Popular Tags |