Spring 扩展点
2023-09-18 14:37:42 0 举报
提供Spring的扩展点、方便整理和使用
作者其他创作
大纲/内容
SmartInstantiationAwareBeanPostProcessor
afterPropertiesSet
ApplicationContextInitializer
CommandLineRunner
InstantiationAwareBeanPostProcessor
BeanFactoryAware
setBeanName
postProcessMergedBeanDefinition
initialize
postProcessBeforeInitialization
Container
destroy
postProcessBeanFactory
invokeAwareInterfaces
BeanFactoryPostProcessor
refresh
postProcessAfterInitialization
InitializingBean
SmartInitializingSingleton
AbstractApplicationContext
指定init方法(注解属性或xml)
指定的destroy方法(通过注解或xml)
BeanNameAware
BeanDefinitionRegistryPostProcessor
@PreDestroy
determineCandidateConstructors
postProcessAfterInstantiation
getEarlyBeanReference
postProcessPropertyValues
ApplicationContextAwareProcessor
setBeanFactory
postProcessBeforeInstantiation
run
FactoryBean
@PostConstruct
DisposableBean
postProcessBeanDefinitionRegistry
MergedBeanDefinitionPostProcessor
getObject
afterSingletonsInstantiated
收藏
0 条评论
下一页