⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exchange.java

📁 Oracle的J2EE Sample
💻 JAVA
字号:
/*
 * @author  : Elangovan
 * @version : 1.0
 *
 * Development Environment : Oracle9i JDeveloper
 * Name of the File        : Exchange.java
 *
 * Creation / Modification History
 *    Elangovan           26-Apr-2002        Created
 *
 */
package oracle.otnsamples.ibfbs.admin.ejb;

import javax.ejb.EJBObject;
import java.rmi.RemoteException;
import java.util.Date;

/**
 * This interface is the remote view of Exchange Service. Clients invoke methods
 * on the bean using this interface.
 *
 * @see ExchangeBean.java
 * @see ExchangeHome.java
 * @see ExchangeQueue.java
 */
public interface Exchange extends EJBObject {

  /**
   * Executes the trade order and sends a conformation mail.
   *
   * @param toAddress To mail address where conformation has to be sent
   * @param symbol stock symbol traded
   * @param tradeDate trade date
   * @param tradeType Trade type, S - sell, B - buy
   * @param qty quantity of stocks traded
   * @return status of process order, 0 - success, -1 - failure
   * @exception RemoteException if process order fails
   * @since 1.0
   */
  public Integer processOrder(String toAddress, String symbol, Date tradeDate, 
                              String tradeType, Integer qty) 
      throws RemoteException;

  
}

⌨️ 快捷键说明

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