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 String
SPRING_FUNCTIONAL_ENABLED
Flag to say that context is functional beans.static String
SPRING_WEB_APPLICATION_TYPE
Enumeration of web application types.
-
Constructor Summary
Constructors Constructor Description FunctionalSpringApplication(Class<?>... primarySources)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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
-
-
-
-
Field Detail
-
SPRING_FUNCTIONAL_ENABLED
public static final String SPRING_FUNCTIONAL_ENABLED
Flag to say that context is functional beans.- See Also:
- Constant Field Values
-
SPRING_WEB_APPLICATION_TYPE
public static final String SPRING_WEB_APPLICATION_TYPE
Enumeration of web application types.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FunctionalSpringApplication
public FunctionalSpringApplication(Class<?>... primarySources)
-
-
Method Detail
-
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 classorg.springframework.boot.SpringApplication
-
load
protected void load(org.springframework.context.ApplicationContext context, Object[] sources)
- Overrides:
load
in classorg.springframework.boot.SpringApplication
-
-