Example usage for org.springframework.context.annotation AnnotationConfigUtils COMMON_ANNOTATION_PROCESSOR_BEAN_NAME

List of usage examples for org.springframework.context.annotation AnnotationConfigUtils COMMON_ANNOTATION_PROCESSOR_BEAN_NAME

Introduction

In this page you can find the example usage for org.springframework.context.annotation AnnotationConfigUtils COMMON_ANNOTATION_PROCESSOR_BEAN_NAME.

Prototype

String COMMON_ANNOTATION_PROCESSOR_BEAN_NAME

To view the source code for org.springframework.context.annotation AnnotationConfigUtils COMMON_ANNOTATION_PROCESSOR_BEAN_NAME.

Click Source Link

Document

The bean name of the internally managed JSR-250 annotation processor.

Usage

From source file:org.jclouds.demo.tweetstore.config.LoggingConfig.java

@PostConstruct
public void initLoggerSupport() {
    CommonAnnotationBeanPostProcessor resourceProcessor = (CommonAnnotationBeanPostProcessor) beanFactory
            .getBean(AnnotationConfigUtils.COMMON_ANNOTATION_PROCESSOR_BEAN_NAME);
    resourceProcessor.setResourceFactory(new LoggerResourceBeanFactory(beanFactory));
}