AnalyzePortfolioRemote.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:1k
源码类别:
Java编程
开发平台:
Java
- package bible.ejb.session.example2;
- import java.rmi.*;
- import javax.ejb.*;
- /**
- * Interface AnalyzePortfolioRemote
- *
- *
- * @author
- * @version %I%, %G%
- */
- public interface AnalyzePortfolioRemote extends EJBObject {
- /**
- * Adds a holding.
- */
- public void addHolding(String name, Integer amount) throws RemoteException;
- /**
- * Adds a debt.
- */
- public void addDebt(String name, Integer amount) throws RemoteException;
- /**
- * Returns a detailed analysis of the current state.
- */
- public String getAnalysis() throws RemoteException;
- /**
- * Returns true if they have the financial strength to qualify for
- * a gold account.
- */
- public boolean qualifiesForGoldAccount() throws RemoteException;
- }
- /*--- Formatted in Bible Style on Thu, Sep 6, '01 ---*/
- /*------ Formatted by Jindent 3.24 Gold 1.02 --- http://www.jindent.de ------*/