org.mule.example.loanbroker.credit
Class CreditAgencyBean

java.lang.Object
  extended by org.mule.example.loanbroker.credit.CreditAgencyBean
All Implemented Interfaces:
java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean

public class CreditAgencyBean
extends java.lang.Object
implements javax.ejb.SessionBean

CreditAgencyBean obtains a credit historey record for a customer.

See Also:
Serialized Form

Constructor Summary
CreditAgencyBean()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbRemove()
           
protected  int getCreditHistoryLength(int ssn)
           
 java.lang.String getCreditProfile(java.lang.String name, java.lang.Integer ssn)
          Used by Ejb Call
protected  int getCreditScore(int ssn)
           
 void setSessionContext(javax.ejb.SessionContext sessionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditAgencyBean

public CreditAgencyBean()
Method Detail

ejbActivate

public void ejbActivate()
                 throws javax.ejb.EJBException
Specified by:
ejbActivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException

ejbPassivate

public void ejbPassivate()
                  throws javax.ejb.EJBException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException

ejbRemove

public void ejbRemove()
               throws javax.ejb.EJBException
Specified by:
ejbRemove in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException

ejbCreate

public void ejbCreate()
               throws javax.ejb.EJBException
Throws:
javax.ejb.EJBException

setSessionContext

public void setSessionContext(javax.ejb.SessionContext sessionContext)
                       throws javax.ejb.EJBException
Specified by:
setSessionContext in interface javax.ejb.SessionBean
Throws:
javax.ejb.EJBException

getCreditScore

protected int getCreditScore(int ssn)

getCreditHistoryLength

protected int getCreditHistoryLength(int ssn)

getCreditProfile

public java.lang.String getCreditProfile(java.lang.String name,
                                         java.lang.Integer ssn)
Used by Ejb Call



Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.