eXo Kernel :: Container Extension :: Spring Implementation 2.5.1-GA

org.exoplatform.container.spring
Class AnnotationConfigApplicationContextProvider

java.lang.Object
  extended by 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

Constructor Summary
AnnotationConfigApplicationContextProvider(InitParams p)
          The default constructor
 
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
 

Constructor Detail

AnnotationConfigApplicationContextProvider

public AnnotationConfigApplicationContextProvider(InitParams p)
The default constructor

Parameters:
p - the initial parameters
Method Detail

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

eXo Kernel :: Container Extension :: Spring Implementation 2.5.1-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.