接口 ApplicationContextFactory

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface ApplicationContextFactory
Strategy interface for creating the ConfigurableApplicationContext used by a SpringApplication. Created contexts should be returned in their default form, with the SpringApplication responsible for configuring and refreshing the context.
从以下版本开始:
2.4.0
作者:
Andy Wilkinson, Phillip Webb