org.apache.geronimo.samples.bank.ejb
Class BankManagerFacadeBean
java.lang.Object
org.apache.geronimo.samples.bank.ejb.BankManagerFacadeBean
- All Implemented Interfaces:
- BankManagerFacadeLocal
public class BankManagerFacadeBean
- extends Object
- implements BankManagerFacadeLocal
Field Summary |
protected javax.persistence.EntityManagerFactory |
emf
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
emf
protected javax.persistence.EntityManagerFactory emf
BankManagerFacadeBean
public BankManagerFacadeBean()
getAccountInformation
public List<Account> getAccountInformation(String customerId)
- Specified by:
getAccountInformation
in interface BankManagerFacadeLocal
getExchangeRates
public List<ExchangeRate> getExchangeRates()
- Specified by:
getExchangeRates
in interface BankManagerFacadeLocal
getCustomer
public Customer getCustomer(String customerCode)
- Specified by:
getCustomer
in interface BankManagerFacadeLocal
changeAccountBalance
public void changeAccountBalance(String accountNo,
Double balance)
getAccountBalance
public Double getAccountBalance(String accountNo)
- Specified by:
getAccountBalance
in interface BankManagerFacadeLocal
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.