public class FileSystemXmlApplicationContextProvider extends Object implements ApplicationContextProvider
ApplicationContextProvider based on the
FileSystemXmlApplicationContext allowing to configure Spring thanks to XML files.
It can be configured using a values-param, each value will be the path of the XML files
to be registered. Please note that the expected paths will be retrieved thanks to the
ConfigurationManager which means that all the prefixes supported by the kernel
are supported by this component such as jar: and classpath:| Constructor and Description |
|---|
FileSystemXmlApplicationContextProvider(InitParams p,
ConfigurationManager cm)
The default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ApplicationContext |
getApplicationContext(org.springframework.context.ApplicationContext parent)
Gives the
ApplicationContext that will be used by the SpringContainer |
public FileSystemXmlApplicationContextProvider(InitParams p, ConfigurationManager cm)
p - the initial parameterscm - the configuration managerpublic org.springframework.context.ApplicationContext getApplicationContext(org.springframework.context.ApplicationContext parent)
ApplicationContext that will be used by the SpringContainergetApplicationContext in interface ApplicationContextProviderparent - the parent contextCopyright © 2018 eXo Platform SAS. All Rights Reserved.