src/applicationContext.xml

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0" encoding="UTF-8"?>

<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:tx="http://www.springframework.org/schema/tx"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">

	<!-- sessionFactory -->
	<bean id="sessionFactory"
		class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
		<property name="configLocation">
			<value>classpath:hibernate.cfg.xml</value>
		</property>
	</bean>

	<bean id="transactionManager"
		class="org.springframework.orm.hibernate3.HibernateTransactionManager">
		<property name="sessionFactory">
			<ref bean="sessionFactory" />
		</property>
	</bean>

	<bean id="messageSource"
		class="org.springframework.context.support.ResourceBundleMessageSource">
		<property name="basename" value="message" />
	</bean>

	<bean id="ObjectManagerImpl"
		class="com.ccit.manager.ObjectManagerImpl" />

	<!-- ====================================================== -->
	<bean id="LoginAction" class="com.ccit.action.LoginAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="UserAction" class="com.ccit.action.UserAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>

	<bean id="HospitalAction" class="com.ccit.action.HospitalAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="NewsAction" class="com.ccit.action.NewsAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="BedOrderAction" class="com.ccit.action.BedOrderAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="DepartmentAction" class="com.ccit.action.DepartmentAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="DepartmentBedAction" class="com.ccit.action.DepartmentBedAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="DeviceCheckAction" class="com.ccit.action.DeviceCheckAction">
		<property name="objectManager" ref="ObjectManagerImpl" />
	</bean>
	<bean id="DoctorOrderAction" class="com.ccit.action.DoctorOrderAction">
后面还有 15 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。