org.apache.geronimo.samples.bank.ejb
Class BankManagerFacadeBean

java.lang.Object
  extended by 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
           
 
Constructor Summary
BankManagerFacadeBean()
           
 
Method Summary
 void changeAccountBalance(String accountNo, Double balance)
           
 Double getAccountBalance(String accountNo)
           
 List<Account> getAccountInformation(String customerId)
           
 Customer getCustomer(String customerCode)
           
 List<ExchangeRate> getExchangeRates()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emf

protected javax.persistence.EntityManagerFactory emf
Constructor Detail

BankManagerFacadeBean

public BankManagerFacadeBean()
Method Detail

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.