org.mule.example.loanbroker
Class AbstractLoanBrokerApp
java.lang.Object
org.mule.example.loanbroker.AbstractLoanBrokerApp
- Direct Known Subclasses:
- LoanBrokerApp, LoanBrokerApp, LoanBrokerApp, LoanBrokerApp
public abstract class AbstractLoanBrokerApp
- extends java.lang.Object
Runs the LoanBroker example application.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLoanBrokerApp
public AbstractLoanBrokerApp()
throws java.lang.Exception
- Throws:
java.lang.Exception
AbstractLoanBrokerApp
public AbstractLoanBrokerApp(java.lang.String config)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
protected void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
getConfigBuilder
protected ConfigurationBuilder getConfigBuilder()
throws MuleException
- Throws:
MuleException
dispose
protected void dispose()
throws java.lang.Exception
- Throws:
java.lang.Exception
run
protected void run(boolean synchronous)
throws java.lang.Exception
- Throws:
java.lang.Exception
createRequest
public CustomerQuoteRequest createRequest()
getRequestFromUser
protected static CustomerQuoteRequest getRequestFromUser()
throws java.io.IOException
- Throws:
java.io.IOException
request
public void request(CustomerQuoteRequest request,
boolean sync)
throws java.lang.Exception
- Throws:
java.lang.Exception
requestDispatch
public void requestDispatch(int number,
java.lang.String endpoint)
throws java.lang.Exception
- Throws:
java.lang.Exception
requestSend
public java.util.List<java.lang.Object> requestSend(int number,
java.lang.String endpoint)
throws java.lang.Exception
- Throws:
java.lang.Exception
requestSend
public java.util.List<java.lang.Object> requestSend(int number,
java.lang.String endpoint,
java.util.Map properties)
throws java.lang.Exception
- Throws:
java.lang.Exception
sendRandomRequests
protected void sendRandomRequests(int number,
boolean synchronous)
throws java.lang.Exception
- Throws:
java.lang.Exception
readCharacter
protected static int readCharacter()
throws java.io.IOException
- Throws:
java.io.IOException
readString
protected static java.lang.String readString()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
protected static int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
getRandomAmount
protected static double getRandomAmount()
getRandomDuration
protected static int getRandomDuration()
getRandomSsn
protected static int getRandomSsn()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.