|
WebLogic Server 6.1 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
The methods in this interface are the public face of AccountBean. The signatures of the methods are identical to those of the bean, except that these methods throw a java.rmi.RemoteException. Note that the EJBean does not implement this interface. The corresponding code-generated EJBObject implements this interface and delegates to the EJBean.
| Method Summary | |
java.lang.String |
accountType()
Type of account. |
double |
balance()
Balance in account. |
double |
deposit(double amount)
Deposits an amount. |
java.lang.String |
getAccountId()
Returns account ID. |
Customer |
getCustomer()
Returns a customer. |
void |
setCustomer(Customer c)
|
double |
withdraw(double amount)
Withdraws an amount. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
public java.lang.String accountType()
public double balance()
public double deposit(double amount)
amount - double Amount to depositpublic java.lang.String getAccountId()
public Customer getCustomer()
public void setCustomer(Customer c)
public double withdraw(double amount)
amount - double Amount to withdrawexamples.ejb.basic.cmp20_OneToOne.ProcessingErrorException - if there is an error while depositing
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||