springIOC注入,就是在配置文件用bean标签注册(实列话bean对象),以可以注入list,方法等
用ioc给bean对象注入属性时,该属性必须要有set方法
spring配置文件在application.xml中配置