1 /* 2 * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com 3 * The software in this package is published under the terms of the CPAL v1.0 4 * license, a copy of which has been included with this distribution in the 5 * LICENSE.txt file. 6 */ 7 package org.mule.example.loanbroker; 8 9 import org.mule.example.loanbroker.AbstractLoanBrokerApp; 10 //import org.mule.tck.util.MuleDerbyTestUtils; 11 12 /** 13 * Executes the LoanBroker BPM example. This is a standalone app which assumes Mule is running somewhere. 14 */ 15 public class LoanBrokerApp extends AbstractLoanBrokerApp 16 { 17 public LoanBrokerApp() throws Exception 18 { 19 super(); 20 } 21 22 public static void main(String[] args) throws Exception 23 { 24 //LoanBrokerApp loanBrokerApp = new LoanBrokerApp(configFile); 25 LoanBrokerApp loanBrokerApp = new LoanBrokerApp(); 26 // FIXME DZ: need to know if we are running sync/async servers 27 loanBrokerApp.run(true); 28 } 29 30 @Override 31 protected void init() throws Exception 32 { 33 super.init(); 34 } 35 }