摘要:
1. 使用Spring注解来注入属性1.1. 使用注解以前我们是怎样注入属性的类的实现:public class UserManagerImpl implements UserManager { private UserDao userDao; public void setUserDao(UserDao userDao) { this.userDao = userDao; } ... } 配置文件:<bean id="userManagerImpl" class="com.kedacom.spring.annotation.ser... 阅读全文