org.mule.example.loanbroker.credit
Class DefaultCreditAgency

java.lang.Object
  extended by org.mule.example.loanbroker.credit.DefaultCreditAgency
All Implemented Interfaces:
CreditAgencyService

public class DefaultCreditAgency
extends Object
implements CreditAgencyService

Provides the credit profile for a customer.


Constructor Summary
DefaultCreditAgency()
           
 
Method Summary
protected  int getCreditHistoryLength(int ssn)
           
 CreditProfile getCreditProfile(Customer customer)
           
protected  int getCreditScore(int ssn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCreditAgency

public DefaultCreditAgency()
Method Detail

getCreditProfile

public CreditProfile getCreditProfile(Customer customer)
Specified by:
getCreditProfile in interface CreditAgencyService

getCreditScore

protected int getCreditScore(int ssn)

getCreditHistoryLength

protected int getCreditHistoryLength(int ssn)


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.