public class AnnotationConfigApplicationContextProvider extends Object implements ApplicationContextProvider
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.| Constructor and Description |
|---|
AnnotationConfigApplicationContextProvider(InitParams p)
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 AnnotationConfigApplicationContextProvider(InitParams p)
p - the initial parameterspublic org.springframework.context.ApplicationContext getApplicationContext(org.springframework.context.ApplicationContext parent)
ApplicationContext that will be used by the SpringContainergetApplicationContext in interface ApplicationContextProviderparent - the parent contextCopyright © 2016 eXo Platform SAS. All Rights Reserved.