Search in sources :

Example 6 with InjectionMetadata

use of org.springframework.beans.factory.annotation.InjectionMetadata in project spring-framework by spring-projects.

the class CommonAnnotationBeanPostProcessor method postProcessMergedBeanDefinition.

@Override
public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType, String beanName) {
    super.postProcessMergedBeanDefinition(beanDefinition, beanType, beanName);
    if (beanType != null) {
        InjectionMetadata metadata = findResourceMetadata(beanName, beanType, null);
        metadata.checkConfigMembers(beanDefinition);
    }
}
Also used : InjectionMetadata(org.springframework.beans.factory.annotation.InjectionMetadata)

Aggregations

InjectionMetadata (org.springframework.beans.factory.annotation.InjectionMetadata)6 PropertyDescriptor (java.beans.PropertyDescriptor)1 Field (java.lang.reflect.Field)1 Method (java.lang.reflect.Method)1 LinkedList (java.util.LinkedList)1 Resource (javax.annotation.Resource)1 ReflectionUtils (org.springframework.util.ReflectionUtils)1