| org.unitils.spring.util.ApplicationContextFactory
All known Subclasses: org.unitils.spring.util.ClassPathXmlApplicationContextFactory,
ApplicationContextFactory | public interface ApplicationContextFactory (Code) | | Factory for creating Spring ApplicationContext s.
author: Tim Ducheyne author: Filip Neven |
Method Summary | |
ConfigurableApplicationContext | createApplicationContext(List<String> locations) Create an ApplicationContext , in which the complete list of the given resources is loaded. |
createApplicationContext | ConfigurableApplicationContext createApplicationContext(List<String> locations)(Code) | | Create an 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.
Parameters: locations - The configuration file locations, not null A ConfigurableApplicationContext , on which the refresh() method hasn't been called yet |
|
|