Class FunctionalSpringApplication

java.lang.Object
org.springframework.boot.SpringApplication
org.springframework.cloud.function.context.FunctionalSpringApplication

public class FunctionalSpringApplication extends org.springframework.boot.SpringApplication
Author:
Dave Syer, Semyon Fishman, Oleg Zhurakousky
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Flag to say that context is functional beans.
    static final String
    Enumeration of web application types.

    Fields inherited from class org.springframework.boot.SpringApplication

    BANNER_LOCATION_PROPERTY, BANNER_LOCATION_PROPERTY_VALUE
  • Constructor Summary

    Constructors
    Constructor
    Description
    FunctionalSpringApplication(Class<?>... primarySources)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    load(org.springframework.context.ApplicationContext context, Object[] sources)
     
    static void
    main(String[] args)
     
    protected void
    postProcessApplicationContext(org.springframework.context.ConfigurableApplicationContext context)
     
    static org.springframework.context.ConfigurableApplicationContext
    run(Class<?>[] primarySources, String[] args)
     
    static org.springframework.context.ConfigurableApplicationContext
    run(Class<?> primarySource, String... args)
     

    Methods inherited from class org.springframework.boot.SpringApplication

    addBootstrapRegistryInitializer, addInitializers, addListeners, addPrimarySources, afterRefresh, applyInitializers, bindToSpringApplication, configureEnvironment, configureProfiles, configurePropertySources, convertEnvironment, createApplicationContext, createBeanDefinitionLoader, exit, getAdditionalProfiles, getAllSources, getApplicationLog, getApplicationStartup, getClassLoader, getEnvironmentPrefix, getInitializers, getListeners, getMainApplicationClass, getResourceLoader, getShutdownHandlers, getSources, getWebApplicationType, logStartupInfo, logStartupProfileInfo, refresh, registerLoggedException, run, setAddCommandLineProperties, setAddConversionService, setAdditionalProfiles, setAllowBeanDefinitionOverriding, setAllowCircularReferences, setApplicationContextFactory, setApplicationStartup, setBanner, setBannerMode, setBeanNameGenerator, setDefaultProperties, setDefaultProperties, setEnvironment, setEnvironmentPrefix, setHeadless, setInitializers, setLazyInitialization, setListeners, setLogStartupInfo, setMainApplicationClass, setRegisterShutdownHook, setResourceLoader, setSources, setWebApplicationType

    Methods inherited from class java.lang.Object

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

    • SPRING_FUNCTIONAL_ENABLED

      public static final String SPRING_FUNCTIONAL_ENABLED
      Flag to say that context is functional beans.
      See Also:
    • SPRING_WEB_APPLICATION_TYPE

      public static final String SPRING_WEB_APPLICATION_TYPE
      Enumeration of web application types.
      See Also:
  • Constructor Details

    • FunctionalSpringApplication

      public FunctionalSpringApplication(Class<?>... primarySources)
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • run

      public static org.springframework.context.ConfigurableApplicationContext run(Class<?> primarySource, String... args)
    • run

      public static org.springframework.context.ConfigurableApplicationContext run(Class<?>[] primarySources, String[] args)
    • postProcessApplicationContext

      protected void postProcessApplicationContext(org.springframework.context.ConfigurableApplicationContext context)
      Overrides:
      postProcessApplicationContext in class org.springframework.boot.SpringApplication
    • load

      protected void load(org.springframework.context.ApplicationContext context, Object[] sources)
      Overrides:
      load in class org.springframework.boot.SpringApplication