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 the ApplicationContextProvider based on the
AnnotationConfigApplicationContext allowing 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
|
Method Summary |
org.springframework.context.ApplicationContext |
getApplicationContext(org.springframework.context.ApplicationContext parent)
Gives the ApplicationContext that will be used by the SpringContainer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationConfigApplicationContextProvider
public AnnotationConfigApplicationContextProvider(InitParams p)
- The default constructor
- Parameters:
p - the initial parameters
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext(org.springframework.context.ApplicationContext parent)
- Gives the
ApplicationContext that will be used by the SpringContainer
- Specified by:
getApplicationContext in interface ApplicationContextProvider
- Parameters:
parent - the parent context
Copyright © 2013 eXo Platform SAS. All Rights Reserved.