Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.example.loanbroker.lender
Class DefaultLender

    java.lang.Object
      org.mule.example.loanbroker.lender.DefaultLender

All Implemented Interfaces:
  LenderService

    public class DefaultLender

extends Object
implements LenderService

`DefaultLenderService` is responsible for contacting the relivant banks depending on the amount of the loan

Constructor Summary
`DefaultLender()`

Method Summary
`Bank[]` | `getLenders(CreditProfile creditProfile, Double loanAmount)` Returns a list of banks willing to offer a loan based on a customer's credit profile and the amount of the loan.
`void` | `setLenderList(LoanBrokerQuoteRequest request)` Sets the list of lenders on the LoanBrokerQuoteRequest and returns it.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultLender

    public DefaultLender()

Method Detail

### setLenderList

    public void setLenderList(LoanBrokerQuoteRequest request)

  Sets the list of lenders on the LoanBrokerQuoteRequest and returns it.

### getLenders

    public Bank[] getLenders(CreditProfile creditProfile,
                             Double loanAmount)

  Returns a list of banks willing to offer a loan based on a customer's credit profile and the amount of the loan.

  Specified by:
    `getLenders` in interface `LenderService`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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