Example usage for Java org.springframework.beans.factory.annotation AnnotatedGenericBeanDefinition fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | setAutowireMode(int autowireMode) Set the autowire mode. |
void | setLazyInit(boolean lazyInit) Set whether this bean should be lazily initialized. |
void | setPrimary(boolean primary) Set whether this bean is a primary autowire candidate. |
void | setRole(int role) Set the role hint for this BeanDefinition . |
void | setScope(@Nullable String scope) Set the name of the target scope for the bean. |