org.mule.example.loanbroker.credit
Class CreditAgencyBean
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreditAgencyBean
public CreditAgencyBean()
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.