org.mule.example.loanbroker.esn
Class SynchronousLoanBroker
java.lang.Object
org.mule.example.loanbroker.DefaultLoanBroker
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynchronousLoanBroker
public SynchronousLoanBroker()
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.