Package org.exoplatform.container.spring
Class FileSystemXmlApplicationContextProvider
- java.lang.Object
-
- org.exoplatform.container.spring.FileSystemXmlApplicationContextProvider
-
- All Implemented Interfaces:
ApplicationContextProvider
public class FileSystemXmlApplicationContextProvider extends Object implements ApplicationContextProvider
This is the implementation of theApplicationContextProviderbased on theFileSystemXmlApplicationContextallowing 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 theConfigurationManagerwhich means that all the prefixes supported by the kernel are supported by this component such as jar: and classpath:- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description FileSystemXmlApplicationContextProvider(org.exoplatform.container.xml.InitParams p, org.exoplatform.container.configuration.ConfigurationManager cm)The default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.context.ApplicationContextgetApplicationContext(org.springframework.context.ApplicationContext parent)Gives theApplicationContextthat will be used by theSpringContainer
-
-
-
Constructor Detail
-
FileSystemXmlApplicationContextProvider
public FileSystemXmlApplicationContextProvider(org.exoplatform.container.xml.InitParams p, org.exoplatform.container.configuration.ConfigurationManager cm)The default constructor- Parameters:
p- the initial parameterscm- the configuration manager
-
-
Method Detail
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext(org.springframework.context.ApplicationContext parent)
Gives theApplicationContextthat will be used by theSpringContainer- Specified by:
getApplicationContextin interfaceApplicationContextProvider- Parameters:
parent- the parent context
-
-