Uses of Interface
org.springframework.boot.ApplicationContextFactory
Package
Description
Core Spring Boot classes.
Fluent 'builder' style API to construct a
SpringApplication
.Classes and annotations related to configuring Spring's
ApplicationContext
for
tests.-
Uses of ApplicationContextFactory in org.springframework.boot
Modifier and TypeFieldDescriptionstatic final ApplicationContextFactory
ApplicationContextFactory.DEFAULT
A defaultApplicationContextFactory
implementation that will create an appropriate context for theWebApplicationType
.Modifier and TypeMethodDescriptionstatic ApplicationContextFactory
ApplicationContextFactory.of
(Supplier<ConfigurableApplicationContext> supplier) Creates anApplicationContextFactory
that will create contexts by calling the givenSupplier
.static ApplicationContextFactory
ApplicationContextFactory.ofContextClass
(Class<? extends ConfigurableApplicationContext> contextClass) Creates anApplicationContextFactory
that will create contexts by instantiating the givencontextClass
through its primary constructor.Modifier and TypeMethodDescriptionvoid
SpringApplication.setApplicationContextFactory
(ApplicationContextFactory applicationContextFactory) Sets the factory that will be called to create the application context. -
Uses of ApplicationContextFactory in org.springframework.boot.builder
Modifier and TypeMethodDescriptionSpringApplicationBuilder.contextFactory
(ApplicationContextFactory factory) Explicitly set the factory used to create the application context. -
Uses of ApplicationContextFactory in org.springframework.boot.test.context
Modifier and TypeMethodDescriptionprotected ApplicationContextFactory
SpringBootContextLoader.getApplicationContextFactory
(MergedContextConfiguration mergedConfig) Return theApplicationContextFactory
that should be used for the test.