格式:bean名称:bean类名
1、environment:Environment
2、systemProperties:Map<String,Object>
3、systemEnvironment:Map<String,Object>
4、messageSource:MessageSource
5、lifecycleProcessor:LifecycleProcessor
6、applicationEventMulticaster:ApplicationEventMulticaster
7、org.springframework.context.annotation.internalConfigurationAnnotationProcessor:ConfigurationClassPostProcessor
8、org.springframework.context.annotation.internalAutowiredAnnotationProcessor:AutowiredAnnotationBeanPostProcessor
9、org.springframework.context.annotation.internalCommonAnnotationProcessor:CommonAnnotationBeanPostProcessor
10、org.springframework.context.annotation.internalPersistenceAnnotationProcessor:PersistenceAnnotationBeanPostProcessor
11、BeanFactoryAware
12、ApplicationContextAware
13、EnvironmentAware
14、ResourceLoaderAware
15、BeanClassLoaderAware
16、BeanNameAware
17、MessageSourceAware
18、ApplicationEventPublisherAware
19、EmbeddedValueResolverAware
具体详情可参考spring中的org.springframework.context.annotation.AnnotationConfigUtils类和spring中的Aware接口
spring ioc容器内建可注入的bean组件
最新推荐文章于 2025-11-23 15:08:04 发布
博客列出了Spring中一系列bean的名称和对应的类名,如environment对应Environment等。还提及了多个Aware接口,如BeanFactoryAware、ApplicationContextAware等。具体详情可参考Spring中的AnnotationConfigUtils类和Aware接口。
929

被折叠的 条评论
为什么被折叠?



