Package org.exoplatform.container.spring
Class AnnotationConfigApplicationContextProvider
- java.lang.Object
-
- org.exoplatform.container.spring.AnnotationConfigApplicationContextProvider
-
- All Implemented Interfaces:
ApplicationContextProvider
public class AnnotationConfigApplicationContextProvider extends Object implements ApplicationContextProvider
This is the implementation of theApplicationContextProviderbased on theAnnotationConfigApplicationContextallowing to configure Spring programmatically. It can be configured using a values-param, each value will be the FQN of the configuration class to be registered.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description AnnotationConfigApplicationContextProvider(org.exoplatform.container.xml.InitParams p)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
-
-
-
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
-
-