Example usage for org.springframework.beans.factory.annotation Autowire NO

List of usage examples for org.springframework.beans.factory.annotation Autowire NO

Introduction

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

Prototype

Autowire NO

To view the source code for org.springframework.beans.factory.annotation Autowire NO.

Click Source Link

Document

Constant that indicates no autowiring at all.

Usage

From source file:com.ccc.cccframework.vaadin_spring.application.VaadinConfigurableBeanWiringInfoResolver.java

private BeanWiringInfo buildWiringInfo(Object bean, VaadinConfigurable annotation) {
    if (!Autowire.NO.equals(annotation.autowire()))
        return new BeanWiringInfo(annotation.autowire().value(), annotation.dependencyCheck());
    if (annotation.value().length() > 0)
        return new BeanWiringInfo(annotation.value(), false);
    return new BeanWiringInfo(getDefaultBeanName(bean), true);
}