摘要: 定义bean时有个abstract属性,可以设置为true或false,默认为false。 这里定义了一个叫elepahnt的animal bean,有4条腿,它与其他bean不同之处是abstract属性为true。这意味着什么?意味着这个bean不能被实例化,不能通过 ApplicationCo 阅读全文
posted @ 2016-04-22 10:41 birkhoff001 阅读(367) 评论(0) 推荐(0) 编辑