Package org.apache.fineract
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 -
Method Summary
Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers
-
Constructor Details
-
ServerApplication
public ServerApplication()
-
-
Method Details
-
configure
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder) - Overrides:
configurein classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
main
- Throws:
IOException
-