Bean的作用域(scope)
依赖注入(setter+注入的bean) 右键-source-genarate getter setter
Name是Person类中的实例 ref是上边的bean中的fandian
包扫描