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
Interface LoanBrokerService

All Known Implementing Classes:
  AsynchronousLoanBroker, DefaultLoanBroker, SynchronousLoanBroker

    public interface LoanBrokerService

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

Method Summary
`Object` | `getLoanQuote(CustomerQuoteRequest request)` Triggered by an incoming customer request for a loan.
`Object` | `receiveQuote(LoanQuote quote)` Triggered by an incoming offer from a bank.

Method Detail

### getLoanQuote

    Object getLoanQuote(CustomerQuoteRequest request)
                        throws LoanBrokerException

  Triggered by an incoming customer request for a loan.

  Returns:
    Outgoing payload will depend on the implementation
  Throws:
    `LoanBrokerException`

### receiveQuote

    Object receiveQuote(LoanQuote quote)

  Triggered by an incoming offer from a bank.

  Returns:
    Outgoing payload will depend on the implementation

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.