摘要: 继承bean配置 同一类型,如果有多个bean需要配置,且大多数属性相同,则可以使用parent属性来实现复用。 例子配置如下: 其中Bean: student_gfc 是通过parent属性复用的Bean:student_pf的值,因此class与studentNo都与student_pf一致。 阅读全文
posted @ 2016-04-22 22:33 falcon_fei 阅读(204) 评论(0) 推荐(0)