Example usage for org.springframework.context.annotation ScannedGenericBeanDefinition applyDefaults

List of usage examples for org.springframework.context.annotation ScannedGenericBeanDefinition applyDefaults

Introduction

In this page you can find the example usage for org.springframework.context.annotation ScannedGenericBeanDefinition applyDefaults.

Prototype

public void applyDefaults(BeanDefinitionDefaults defaults) 

Source Link

Document

Apply the provided default values to this bean.

Usage

From source file:org.rosenvold.spring.convention.ConventionBeanFactory.java

private ScannedGenericBeanDefinition createScannedBeanDefinition(Class<?> resolvedType) {
    final ScannedGenericBeanDefinition rootBeanDefinition = getScannedBeanDefinition(resolvedType);
    rootBeanDefinition.applyDefaults(this.beanDefinitionDefaults);
    processCommonDefinitionAnnotations(rootBeanDefinition);
    rootBeanDefinition.setScope(getAnnotatedScope(resolvedType));
    return rootBeanDefinition;
}