isSynthetic属性
org.springframework.beans.factory.support.AbstractBeanDefinition#isSynthetic
isSynthetic(表示硬编码创建的BeanDefinition)
如果一个BeanDefinition的synthetic属性被标记为true,那么这个bean在获取的过程中,可以逃过BeanPostProcessors的应用
scope属性
有三种模式:
singleton(单例)
prototype(原型)
自定义
role属性
ROLE_INFRASTRUCTURE:表示框架底层注册的bean
ROLE_APPLICATION:表示应用注册的bean(默认值)