Example usage for org.springframework.context.annotation AnnotationConfigApplicationContext getBeanFactoryPostProcessors

List of usage examples for org.springframework.context.annotation AnnotationConfigApplicationContext getBeanFactoryPostProcessors

Introduction

In this page you can find the example usage for org.springframework.context.annotation AnnotationConfigApplicationContext 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 testAnnotationConfigApplicationContext() {
    AnnotationConfigApplicationContext annotationConfigApplicationContext = new AnnotationConfigApplicationContext();
    JsfCdiToSpringApplicationContextInitializer initializer = new JsfCdiToSpringApplicationContextInitializer();

    initializer.initialize(annotationConfigApplicationContext);

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