⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 applicationcontext-service.xml.svn-base

📁 菲律宾的一个大学的图书管理系统 spring+hibernate+velocity
💻 SVN-BASE
字号:
<bean id="RoleServiceTarget" class="biz.bluesky.pts.service.impl.RoleServiceImpl" singleton="false">
    <property name="roleDAO"><ref local="RoleDAO"/></property>
</bean>

<bean id="PermissionServiceTarget" class="biz.bluesky.pts.service.impl.PermissionServiceImpl" singleton="false">
    <property name="permissionDAO"><ref local="PermissionDAO"/></property>
</bean>

<bean id="SchoolServiceTarget" class="biz.bluesky.pts.service.impl.SchoolServiceImpl" singleton="false">
    <property name="schoolDAO"><ref local="SchoolDAO"/></property>
</bean>

<bean id="TeacherServiceTarget" class="biz.bluesky.pts.service.impl.TeacherServiceImpl" singleton="false">
    <property name="teacherDAO"><ref local="TeacherDAO"/></property>
</bean>

<bean id="SubjectServiceTarget" class="biz.bluesky.pts.service.impl.SubjectServiceImpl" singleton="false">
    <property name="subjectDAO"><ref local="SubjectDAO"/></property>
</bean>

<bean id="ClassServiceTarget" class="biz.bluesky.pts.service.impl.ClassServiceImpl" singleton="false">
    <property name="classDAO"><ref local="ClassDAO"/></property>
</bean>

<bean id="RemarkServiceTarget" class="biz.bluesky.pts.service.impl.RemarkServiceImpl" singleton="false">
    <property name="remarkDAO"><ref local="RemarkDAO"/></property>
</bean>

<bean id="StudentServiceTarget" class="biz.bluesky.pts.service.impl.StudentServiceImpl" singleton="false">
    <property name="studentDAO"><ref local="StudentDAO"/></property>
</bean>

<bean id="TestServiceTarget" class="biz.bluesky.pts.service.impl.TestServiceImpl" singleton="false">
    <property name="testDAO"><ref local="TestDAO"/></property>
</bean>

<bean id="AcademicyearServiceTarget" class="biz.bluesky.pts.service.impl.AcademicyearServiceImpl" singleton="false">
    <property name="academicyearDAO"><ref local="AcademicyearDAO"/></property>
</bean>

<bean id="LevelServiceTarget" class="biz.bluesky.pts.service.impl.LevelServiceImpl" singleton="false">
    <property name="levelDAO"><ref local="LevelDAO"/></property>
</bean>

<bean id="StreamServiceTarget" class="biz.bluesky.pts.service.impl.StreamServiceImpl" singleton="false">
    <property name="streamDAO"><ref local="StreamDAO"/></property>
</bean>

<bean id="CaSaServiceTarget" class="biz.bluesky.pts.service.impl.CaSaServiceImpl" singleton="false">
    <property name="caSaDAO"><ref local="CaSaDAO"/></property>
</bean>

<bean id="DisciplineServiceTarget" class="biz.bluesky.pts.service.impl.DisciplineServiceImpl" singleton="false">
    <property name="disciplineDAO"><ref local="DisciplineDAO"/></property>
</bean>

<bean id="RoleService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="RoleServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="PermissionService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="PermissionServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="SchoolService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="SchoolServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="TeacherService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="TeacherServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="SubjectService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="SubjectServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="ClassService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="ClassServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="RemarkService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="RemarkServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="StudentService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="StudentServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="TestService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="TestServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="AcademicyearService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="AcademicyearServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="LevelService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="LevelServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="StreamService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="StreamServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="CaSaService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="CaSaServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

<bean id="DisciplineService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">	
	<property name="transactionManager"><ref local="ptsTransactionManager"/></property>
	<property name="target"><ref local="DisciplineServiceTarget"/></property>
	<property name="transactionAttributes">
		<props>
			<prop key="find*">PROPAGATION_REQUIRED,readOnly</prop>
			<prop key="save*">PROPAGATION_REQUIRED</prop>
			<prop key="remove*">PROPAGATION_REQUIRED</prop>
		</props>
	</property>
</bean>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -