src/applicationContext-bean.xml
(完整代码) 1KB<?xml version="1.0" encoding="UTF-8"?>
<!--
- Middle tier application context definition for the image database.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
<!-- 抽象bean,是所有bean的父bean -->
<bean id="beanAbstract" abstract="true">
<property name="sessionFactory" ref="sessionFactory"></property>
</bean>
<!-- bean -->
<bean id="userServices" class="com.oa.services.impl.UserServicesImpl" parent="beanAbstract"/>
<bean id="loginServices" class="com.oa.services.impl.LoginServicesImpl" parent="beanAbstract"/>
<bean id="productServices" class="com.oa.services.impl.ProductServicesImpl" parent="beanAbstract"/>
<bean id="priceServices" class="com.oa.services.impl.PriceServicesImpl" parent="beanAbstract"/>
<bean id="supplierServices" class="com.oa.services.impl.SupplierServicesImpl" parent="beanAbstract"/>
<bean id="orderServices" class="com.oa.services.impl.OrderServicesImpl" parent="beanAbstract"/>
</beans>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
