org.jboss.test.bank.interfaces
Interface Teller

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface Teller
extends EJBObject (src)


Method Summary
 Account (src) createAccount(Customer (src)  customer, float balance)
           
 Account (src) getAccount(Customer (src)  customer, float balance)
           
 Customer (src) getCustomer(java.lang.String name)
           
 void transfer(Account (src)  from, Account (src)  to, float amount)
           
 void transferTest(Account (src)  from, Account (src)  to, float amount, int iter)
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

transfer

public void transfer(Account (src)  from,
                     Account (src)  to,
                     float amount)
              throws java.rmi.RemoteException,
                     BankException (src) 
Throws:
java.rmi.RemoteException
BankException (src)

createAccount

public Account (src)  createAccount(Customer (src)  customer,
                             float balance)
                      throws java.rmi.RemoteException,
                             BankException (src) 
Throws:
java.rmi.RemoteException
BankException (src)

getAccount

public Account (src)  getAccount(Customer (src)  customer,
                          float balance)
                   throws java.rmi.RemoteException,
                          BankException (src) 
Throws:
java.rmi.RemoteException
BankException (src)

getCustomer

public Customer (src)  getCustomer(java.lang.String name)
                     throws java.rmi.RemoteException,
                            BankException (src) 
Throws:
java.rmi.RemoteException
BankException (src)

transferTest

public void transferTest(Account (src)  from,
                         Account (src)  to,
                         float amount,
                         int iter)
                  throws java.rmi.RemoteException,
                         BankException (src) 
Throws:
java.rmi.RemoteException
BankException (src)