Class ServerApplication

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
org.apache.fineract.ServerApplication
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

public class ServerApplication extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
Fineract main() application which launches Fineract in an embedded Tomcat HTTP (using Spring Boot). The DataSource used is a to a "normal" external database (not use MariaDB4j). This DataSource can be configured with parameters, see DataSourceProperties. You can easily launch this via Debug as Java Application in your IDE - without needing command line Gradle stuff, no need to build and deploy a WAR, remote attachment etc. It's the old/classic Mifos (non-X) Workspace 2.0 reborn for Fineract! ;-)
  • Field Summary

    Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.boot.builder.SpringApplicationBuilder
    configure(org.springframework.boot.builder.SpringApplicationBuilder builder)
     
    static void
    main(String[] args)
     

    Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ServerApplication

      public ServerApplication()
  • Method Details

    • configure

      protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder)
      Overrides:
      configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    • main

      public static void main(String[] args) throws IOException
      Throws:
      IOException