摘要:
什么是Spring Boot?Spring Boot is designed to get you up and run as quickily as possible.with minimal upfront configuration of spring.Spring Boot takes an 阅读全文
摘要:
通过注解装配Bean1.使用@Component装配Bean//value代表bean的id,可以简写("role"),也可以不写,就默认类名,首字母小写 @Component(value="role") public class Role { //@Value代表值的注入,那如何注入对象? @Va 阅读全文