org.jboss.test.bank.ejb
Class TellerBean

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.SessionSupport (src) 
          extended byorg.jboss.test.bank.ejb.TellerBean
All Implemented Interfaces:
EnterpriseBean (src) , java.io.Serializable, SessionBean (src)

public class TellerBean
extends SessionSupport (src)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.SessionSupport (src)
log, sessionCtx
 
Constructor Summary
TellerBean()
           
 
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 class org.jboss.test.util.ejb.SessionSupport (src)
ejbActivate, ejbCreate, ejbPassivate, ejbRemove, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TellerBean

public TellerBean()
Method Detail

transfer

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

createAccount

public Account (src)  createAccount(Customer (src)  customer,
                             float balance)
                      throws BankException (src) 
Throws:
BankException (src)

getAccount

public Account (src)  getAccount(Customer (src)  customer,
                          float balance)
                   throws BankException (src) 
Throws:
BankException (src)

getCustomer

public Customer (src)  getCustomer(java.lang.String name)
                     throws BankException (src) 
Throws:
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)