<bean id="productService" parent="baseTxService">
<property name="target">
<bean class="neo.app.service.ProductService" />
</property>
</bean>
我的理解是在父类中有一个target属性,我们给这个对象赋予class指定类的对象
<bean id="productService" parent="baseTxService">
<property name="target">
<bean class="neo.app.service.ProductService" />
</property>
</bean>
我的理解是在父类中有一个target属性,我们给这个对象赋予class指定类的对象
转载于:https://www.cnblogs.com/ihanhong/archive/2012/09/06/2673931.html