View Javadoc

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