org.mule.samples.loanbroker
Class AsyncLoanBroker

java.lang.Object
  extended byorg.mule.samples.loanbroker.AsyncLoanBroker
All Implemented Interfaces:
LoanBroker

public class AsyncLoanBroker
extends Object
implements LoanBroker

LoanBroker is the Service that starts the loan request process. The broker also receives the final quote.


Field Summary
protected static Log logger
          logger used by this class
 
Constructor Summary
AsyncLoanBroker()
           
 
Method Summary
 BankQuoteRequest getLoanQuote(LoanRequest request)
           
 int incQuotes()
           
 int incRequests()
           
 Object receiveQuote(LoanQuote quote)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static Log logger
logger used by this class

Constructor Detail

AsyncLoanBroker

public AsyncLoanBroker()
Method Detail

getLoanQuote

public BankQuoteRequest getLoanQuote(LoanRequest request)
Specified by:
getLoanQuote in interface LoanBroker

receiveQuote

public Object receiveQuote(LoanQuote quote)
Specified by:
receiveQuote in interface LoanBroker

incQuotes

public int incQuotes()

incRequests

public int incRequests()


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.