<bean id="productService" parent="baseTxService"> <property name="target"> <bean class="neo.app.service.ProductService" /> </property> </bean>
我的理解是在父类中有一个target属性,我们给这个对象赋予class指定类的对象
posted on 2012-09-06 17:48 ihanhong 阅读(4526) 评论(1) 编辑 收藏 举报