Example usage for org.springframework.web.context.support AnnotationConfigWebApplicationContext getBeanFactoryPostProcessors

List of usage examples for org.springframework.web.context.support AnnotationConfigWebApplicationContext getBeanFactoryPostProcessors

Introduction

In this page you can find the example usage for org.springframework.web.context.support AnnotationConfigWebApplicationContext getBeanFactoryPostProcessors.

Prototype

public List<BeanFactoryPostProcessor> getBeanFactoryPostProcessors() 

Source Link

Document

Return the list of BeanFactoryPostProcessors that will get applied to the internal BeanFactory.

Usage

From source file:com.github.persapiens.jsfboot.annotations.JsfCdiToSpringApplicationContextInitializerIT.java

public void testAnnotationConfigWebApplicationContext() {
    AnnotationConfigWebApplicationContext annotationConfigWebApplicationContext = new AnnotationConfigWebApplicationContext();
    JsfCdiToSpringApplicationContextInitializer initializer = new JsfCdiToSpringApplicationContextInitializer();

    initializer.initialize(annotationConfigWebApplicationContext);

    assertThat(annotationConfigWebApplicationContext.getBeanFactoryPostProcessors().isEmpty()).isFalse();
}