首页
百科大全
文学
登录
标签
Springboot加载注入bean的方式
Springboot加载注入bean的方式
一、 springboot装配本地服务工程中的bean1、注解装配Bean1、使用Component,Service,Controller,Repository等派生注解 只要在类上加类上加 @Component 注解即可,该注解只要被扫描
Springboot加载注入bean的方式
admin
1月前
27
0