Class TLfnFusionPlatformApplication

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
com.luciad.fusion.platform.TLfnFusionPlatformApplication
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

@SpringBootConfiguration @Import(TLfnFusionPlatformConfiguration.class) public class TLfnFusionPlatformApplication extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer implements org.springframework.web.WebApplicationInitializer

LuciadFusion Platform

This is the LuciadFusion Platform main class. It is used when you start LuciadFusion with an embedded servlet container (using start.jar or the zip deployment) and when you deploy LuciadFusion in an external servlet container (war deployment). To start the Fusion Platform, the following Spring profiles can be provided:
  • fusion.single : contains sensible defaults for numerous parameters, required to set as active profile
  • fusion.development : contains configurations that can be used to easily get a server application up and running. It is used when you start Fusion Server via start.jar. Should not be used for production environments.
  • fusion.production : or a custom created profile tailored to suit your needs. It contains a list of properties that should be filled in before building the application

To set the active Spring profiles, you can use for example vm parameters: -Dspring.profiles.active=fusion.single,fusion.development
See the deployment guide for more information about Spring profiles.

To extend the Fusion Platform, with for example a custom service, you can reuse this class, but make use of configuration properties to trigger the loading of other Spring beans/configurations. More information on the fusion.config.additionalScanPackages property can be found in the config/fusion.common.yml file.

Since:
2017.0
  • 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)
    Hook method in SpringBootServletInitializer.onStartup(ServletContext) which is the starting point for Luciad Fusion Platform when running it in an Application Server.
    static void
    main(String[] args)
    Starting point when starting Luciad Fusion Platform via command line (or in IDE).

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

    createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.WebApplicationInitializer

    onStartup
  • Constructor Details

    • TLfnFusionPlatformApplication

      public TLfnFusionPlatformApplication()
  • Method Details

    • main

      public static void main(String[] args)
      Starting point when starting Luciad Fusion Platform via command line (or in IDE).
    • configure

      protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder)
      Hook method in SpringBootServletInitializer.onStartup(ServletContext) which is the starting point for Luciad Fusion Platform when running it in an Application Server.
      Overrides:
      configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer