I will cover the easy way to do this in a later post, but in this post we will look at how Spring processes annotations.

Available JSR-250 Spring Annotations

The spring-beans-3.x.jar contains the package org.springframework.beans.factory.annotation. In this package you will find the following BeanPostProcessors:

  • AutowiredAnnotationBeanPostProcessor
  • InitDestroyAnnotationBeanPostProcessor
  • QualifierAnnotationBeanPostProcessor
  • RequiredAnnotationBeanPostProcesor

These PostProcessors facilitate the following annotations which can be found in the same package

  • @Autowired
  • @Qualifier
  • @Required

Leave a comment

Skills421

Welcome to Skills421, our knowledge repository for all things tech in the 21st century

Let’s connect

Search