| java.lang.Object org.jboss.test.jca.bank.ejb.TellerBean
TellerBean | public class TellerBean implements SessionBean(Code) | | Describe class TellerBean here.
The equals and hashCode methods have been overridden to test bug 595738,
a problem with CachedConnectionManager if it directly puts objects in a hashmap.
author: David Jencks version: 1.0 |
invocations | static int invocations(Code) | | |
createAccount | public Account createAccount(Integer id)(Code) | | Describe createAccount method here.
Parameters: id - a Integer value, id of account an Account value exception: EJBException - if an error occurs |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
equals | public boolean equals(Object other)(Code) | | This equals method tests whether the CachedConnectionManager deals
properly with ejbs that override equals and hashCode. See bug 595738
Parameters: other - an Object value a boolean value |
getAccountBalance | public int getAccountBalance(Integer id)(Code) | | Describe getAccountBalance method here.
Parameters: id - a integer value, id of account an int value, balbance of account exception: EJBException - if an error occurs |
hashCode | public int hashCode()(Code) | | |
setSessionContext | public void setSessionContext(SessionContext ctx)(Code) | | |
setUp | public void setUp()(Code) | | Describe setUp method here.
exception: EJBException - if an error occurs |
tearDown | public void tearDown()(Code) | | Describe tearDown method here.
exception: EJBException - if an error occurs |
transfer | public void transfer(Account from, Account to, int amount)(Code) | | Describe transfer method here.
Parameters: from - an Account value Parameters: to - an Account value Parameters: amount - a float value exception: EJBException - if an error occurs |
transferTest | public void transferTest(AccountLocal from, AccountLocal to, int amount, int iter)(Code) | | Describe transferTest method here.
Parameters: from - an AccountLocal value Parameters: to - an AccountLocal value Parameters: amount - a float value Parameters: iter - an int value exception: java.rmi.RemoteException - if an error occurs exception: EJBException - if an error occurs |
unsetSessionContext | public void unsetSessionContext()(Code) | | |
|
|