Java org.springframework.beans.factory.annotation AnnotatedGenericBeanDefinition fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.beans.factory.annotation AnnotatedGenericBeanDefinition fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.beans.factory.annotation AnnotatedGenericBeanDefinition.

The text is from its open source code.

Constructor

AnnotatedGenericBeanDefinition(Class beanClass)
Create a new AnnotatedGenericBeanDefinition for the given bean class.
AnnotatedGenericBeanDefinition(AnnotationMetadata metadata)
Create a new AnnotatedGenericBeanDefinition for the given annotation metadata, allowing for ASM-based processing and avoidance of early loading of the bean class.

Method

voidsetAutowireMode(int autowireMode)
Set the autowire mode.
voidsetLazyInit(boolean lazyInit)
Set whether this bean should be lazily initialized.
voidsetPrimary(boolean primary)
Set whether this bean is a primary autowire candidate.
voidsetRole(int role)
Set the role hint for this BeanDefinition .
voidsetScope(@Nullable String scope)
Set the name of the target scope for the bean.