Example usage for org.springframework.beans.factory.annotation InjectionMetadata checkConfigMembers

List of usage examples for org.springframework.beans.factory.annotation InjectionMetadata checkConfigMembers

Introduction

In this page you can find the example usage for org.springframework.beans.factory.annotation InjectionMetadata checkConfigMembers.

Prototype

public void checkConfigMembers(RootBeanDefinition beanDefinition) 

Source Link

Usage

From source file:com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.java

@Override
public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType,
        String beanName) {//from ww  w  .  j  a  v  a2 s  .  c o m
    if (beanType != null) {
        InjectionMetadata metadata = findReferenceMetadata(beanName, beanType, null);
        metadata.checkConfigMembers(beanDefinition);
    }
}

From source file:com.baidu.jprotobuf.pbrpc.spring.annotation.CommonAnnotationBeanPostProcessor.java

public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class beanType,
        String beanName) {/*from  ww  w. ja  va2  s.c  om*/
    if (beanType != null && getCallback() != null && getCallback().getMethodFieldAnnotation() != null) {

        List<Class<? extends Annotation>> methodFieldAnnotation = getCallback().getMethodFieldAnnotation();
        if (methodFieldAnnotation != null) {
            InjectionMetadata metadata = findAnnotationMetadata(beanType, methodFieldAnnotation);
            metadata.checkConfigMembers(beanDefinition);
        }

    }
}

From source file:net.stickycode.mockwire.spring30.MockwireFieldInjectionAnnotationBeanPostProcessor.java

public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class beanType,
        String beanName) {/*from   www. j av a 2 s.  c  om*/
    if (beanType != null) {
        InjectionMetadata metadata = findAutowiringMetadata(beanType);
        metadata.checkConfigMembers(beanDefinition);
    }
}

From source file:org.springframework.batch.core.jsr.configuration.support.SpringAutowiredAnnotationBeanPostProcessor.java

@Override
public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType,
        String beanName) {//from   w w w. j  av  a 2 s  . c om
    if (beanType != null) {
        InjectionMetadata metadata = findAutowiringMetadata(beanType);
        metadata.checkConfigMembers(beanDefinition);
    }
}

From source file:org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.java

@Override
public void postProcessMergedBeanDefinition(RootBeanDefinition beanDefinition, Class<?> beanType,
        String beanName) {/*from  w w w  .  ja  va 2s  .c o m*/
    InjectionMetadata metadata = findAutowiringMetadata(beanName, beanType, null);
    metadata.checkConfigMembers(beanDefinition);
}