stockquoteservice.java

来自「Oracle的J2EE Sample」· Java 代码 · 共 39 行

JAVA
39
字号
/* * @author : Elangovan *  * Development Environment : Oracle9i JDeveloper * Name of the file        : StockQuoteService.java *  * Creation/Modification History *  *   Elangovan        06-Aug-2003      Created *  */package oracle.otnsamples.ibfbs.admin.ejb;import java.rmi.Remote;import java.rmi.RemoteException;/** * This interface is the Web Service endpoint interface, declares the methods that * a remote web service client can invoke on this service. The implementation  * for the methods are present in the bean(StockQuoteBean.java) class. *  * @see StockQuoteBean.java */public interface StockQuoteService extends Remote  {    /**   * This method retrieves the latest stock quote for the specified array of symbols.   *     * @param symbols A valid array of stock symbols for which quote is required   * @return Array of latest stock quotes corresponding to the specified symbols   * @throws RemoteException if symbol is null or stock quote    * does not exist for the specified symbol.   *     */  public Float[] getStockQuote(String symbols[])     throws RemoteException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?