public class DefaultLoanBroker extends Object implements LoanBrokerService
LoanBroker is the Service that starts the loan request process. The
broker also receives the final quote.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger
logger used by this class
|
| Constructor and Description |
|---|
DefaultLoanBroker() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getLoanQuote(CustomerQuoteRequest request)
Triggered by an incoming customer request for a loan.
|
protected int |
incProfiles() |
protected int |
incQuotes() |
protected int |
incRequests() |
Object |
receiveCreditProfile(CreditProfile profile) |
Customer |
receiveCustomer(Customer customer) |
LoanBrokerQuoteRequest |
receiveLoanBrokerQuoteRequest(LoanBrokerQuoteRequest request) |
Object |
receiveQuote(LoanQuote quote)
Triggered by an incoming offer from a bank.
|
public Object getLoanQuote(CustomerQuoteRequest request) throws LoanBrokerException
LoanBrokerServicegetLoanQuote in interface LoanBrokerServiceLoanBrokerExceptionpublic LoanBrokerQuoteRequest receiveLoanBrokerQuoteRequest(LoanBrokerQuoteRequest request)
public Object receiveCreditProfile(CreditProfile profile)
public Object receiveQuote(LoanQuote quote)
LoanBrokerServicereceiveQuote in interface LoanBrokerServiceprotected int incQuotes()
protected int incRequests()
protected int incProfiles()
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.