@SpringBootConfiguration @Import(value=TLfnFusionPlatformConfiguration.class) public class TLfnFusionPlatformApplication extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer implements org.springframework.web.WebApplicationInitializer
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.
Constructor and Description |
---|
TLfnFusionPlatformApplication() |
Modifier and Type | Method and 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).
|
createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, onStartup, run, setRegisterErrorPageFilter
public static void main(String[] args)
protected org.springframework.boot.builder.SpringApplicationBuilder configure(org.springframework.boot.builder.SpringApplicationBuilder builder)
SpringBootServletInitializer.onStartup(ServletContext)
which is the starting point for
Luciad Fusion Platform when running it in an Application Server.configure
in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer