public interface ApplicationContextFactory
ApplicationContexts.| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ConfigurableApplicationContext |
createApplicationContext(List<String> locations)
Create an
ApplicationContext, in which the complete list of the given resources is loaded. |
org.springframework.context.ConfigurableApplicationContext createApplicationContext(List<String> locations)
ApplicationContext, in which the complete list of the given resources is loaded. The way in
which these locations are interpreted depends on the concrete implementation of the interface. More in particular,
the returned instance is an instance of ConfigurableApplicationContext, that is not yet refreshed,
i.e. the method ConfigurableApplicationContext.refresh() has neither been called explicitly, nor
implicitly by invoking a constructor that also makes sure the configuration is processed by calling the refresh
method.locations - The configuration file locations, not nullConfigurableApplicationContext, on which the refresh() method hasn't been called yetCopyright © 2016. All Rights Reserved.