Uses of Interface
org.springframework.boot.ApplicationContextFactory
Packages that use ApplicationContextFactory
Package
Description
Core Spring Boot classes.
Fluent 'builder' style API to construct a
SpringApplication.-
Uses of ApplicationContextFactory in org.springframework.boot
Fields in org.springframework.boot declared as ApplicationContextFactoryModifier and TypeFieldDescriptionstatic final ApplicationContextFactoryApplicationContextFactory.DEFAULTA defaultApplicationContextFactoryimplementation that will create an appropriate context for theWebApplicationType.Methods in org.springframework.boot that return ApplicationContextFactoryModifier and TypeMethodDescriptionstatic ApplicationContextFactoryApplicationContextFactory.of(Supplier<ConfigurableApplicationContext> supplier) Creates anApplicationContextFactorythat will create contexts by calling the givenSupplier.static ApplicationContextFactoryApplicationContextFactory.ofContextClass(Class<? extends ConfigurableApplicationContext> contextClass) Creates anApplicationContextFactorythat will create contexts by instantiating the givencontextClassthrough its primary constructor.Methods in org.springframework.boot with parameters of type ApplicationContextFactoryModifier and TypeMethodDescriptionvoidSpringApplication.setApplicationContextFactory(ApplicationContextFactory applicationContextFactory) Sets the factory that will be called to create the application context. -
Uses of ApplicationContextFactory in org.springframework.boot.builder
Methods in org.springframework.boot.builder with parameters of type ApplicationContextFactoryModifier and TypeMethodDescriptionSpringApplicationBuilder.contextFactory(ApplicationContextFactory factory) Explicitly set the factory used to create the application context.