org.jboss.test.bankiiop.ejb
Class BankBean

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

public class BankBean
extends SessionSupport (src)

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.SessionSupport (src)
log, sessionCtx
 
Constructor Summary
BankBean()
           
 
Method Summary
 java.lang.String createAccountId(Customer (src)  customer)
           
 java.lang.String createCustomerId()
           
 java.lang.String getId()
           
 void setSessionContext(SessionContext (src)  context)
          Set the associated session context.
 
Methods inherited from class org.jboss.test.util.ejb.SessionSupport (src)
ejbActivate, ejbCreate, ejbPassivate, ejbRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BankBean

public BankBean()
Method Detail

getId

public java.lang.String getId()

createAccountId

public java.lang.String createAccountId(Customer (src)  customer)
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

createCustomerId

public java.lang.String createCustomerId()

setSessionContext

public void setSessionContext(SessionContext (src)  context)
Description copied from interface: SessionBean (src)

Set the associated session context. The container calls this method after the instance creation.

The enterprise Bean instance should store the reference to the context object in an instance variable.

This method is called with no transaction context.

Specified by:
setSessionContext in interface SessionBean (src)
Overrides:
setSessionContext in class SessionSupport (src)