org.mule.example.loanbroker.esn
Class SynchronousLoanBroker

java.lang.Object
  extended by org.mule.example.loanbroker.DefaultLoanBroker
      extended by org.mule.example.loanbroker.esn.SynchronousLoanBroker
All Implemented Interfaces:
LoanBrokerService

public class SynchronousLoanBroker
extends DefaultLoanBroker

SyncLoanBroker is a synchronous Loan Broker that makes the calls to various components through the event context synchronously.


Field Summary
 
Fields inherited from class org.mule.example.loanbroker.DefaultLoanBroker
logger
 
Constructor Summary
SynchronousLoanBroker()
           
 
Method Summary
 CreditAgencyService getCreditAgency()
           
 Object getLoanQuote(CustomerQuoteRequest request)
          Triggered by an incoming customer request for a loan.
 void setCreditAgency(CreditAgencyService creditAgency)
           
 
Methods inherited from class org.mule.example.loanbroker.DefaultLoanBroker
incProfiles, incQuotes, incRequests, receiveCreditProfile, receiveCustomer, receiveLoanBrokerQuoteRequest, receiveQuote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousLoanBroker

public SynchronousLoanBroker()
Method Detail

getLoanQuote

public Object getLoanQuote(CustomerQuoteRequest request)
                    throws LoanBrokerException
Description copied from interface: LoanBrokerService
Triggered by an incoming customer request for a loan.

Specified by:
getLoanQuote in interface LoanBrokerService
Overrides:
getLoanQuote in class DefaultLoanBroker
Returns:
Outgoing payload will depend on the implementation
Throws:
LoanBrokerException

getCreditAgency

public CreditAgencyService getCreditAgency()

setCreditAgency

public void setCreditAgency(CreditAgencyService creditAgency)


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