spring容器和bean初始化
2020-04-09 17:13:02 0 举报
spring容器和bean初始化
作者其他创作
大纲/内容
InstantiationAwareBeanPostProcessorpostProcessAfterInstantiation
BeanFactoryAwaresetBeanFactory
initMethod
InitializingBean
BeanDefinitionRegistryPostProcessorpostProcessBeanDefinitionRegistry
BeanFactoryPostProcessorpostProcessBeanFactory
BeanNameAwaresetBeanName
InstantiationAwareBeanPostProcessorpostProcessPropertyValues这里注入Autowired
InstantiationAwareBeanPostProcessorpostProcessBeforeInstantiation
BeanPostProcessorpostProcessBeforeInitialization针对所有bean的
BeanPostProcessorpostProcessAfterInitialization
Bean初始化调用用户自定义的初始化方法
Bean实例化缺省构造函数或者带参数的构造函数创建Bean实例
@PostConstruct
收藏
0 条评论
下一页