FileSystemXmlApplicationContext()
Create a new FileSystemXmlApplicationContext for bean-style configuration.
See Also
#setConfigLocation#setConfigLocations#afterPropertiesSet()
FileSystemXmlApplicationContext(parent: ApplicationContext)
Create a new FileSystemXmlApplicationContext for bean-style configuration.
See Also
#setConfigLocation#setConfigLocations#afterPropertiesSet()
FileSystemXmlApplicationContext(configLocation: String)
Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML file and automatically refreshing the context.
BeansException - if context creation failed
FileSystemXmlApplicationContext(vararg configLocations: String)
Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files and automatically refreshing the context.
configLocations - array of file paths
BeansException - if context creation failed
FileSystemXmlApplicationContext(configLocations: Array<String>, parent: ApplicationContext)
Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
configLocations - array of file paths
BeansException - if context creation failed
FileSystemXmlApplicationContext(configLocations: Array<String>, refresh: Boolean)
Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files.
configLocations - array of file paths
refresh - whether to automatically refresh the context, loading all bean definitions and creating all singletons. Alternatively, call refresh manually after further configuring the context.
BeansException - if context creation failed
See Also
#refresh()
FileSystemXmlApplicationContext(configLocations: Array<String>, refresh: Boolean, @Nullable parent: ApplicationContext)
Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.
configLocations - array of file paths
refresh - whether to automatically refresh the context, loading all bean definitions and creating all singletons. Alternatively, call refresh manually after further configuring the context.
BeansException - if context creation failed
See Also
#refresh()