ProfessionalSystem/src/applicationContext.xml
(完整代码) 2KB<?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="GenreAction" class="com.ccit.action.GenreAction">
<property name="objectManager" ref="ObjectManagerImpl" />
</bean>
<bean id="NewsAction" class="com.ccit.action.NewsAction">
<property name="objectManager" ref="ObjectManagerImpl" />
</bean>
<bean id="ResultNewsAction" class="com.ccit.action.ResultNewsAction">
<property name="objectManager" ref="ObjectManagerImpl" />
</bean>
<bean id="MyFileAction" class="com.ccit.action.MyFileAction">
<property name="objectManager" ref="ObjectManagerImpl" />
</bean>
<bean id="ScoreAction" class="com.ccit.action.ScoreAction">
<property name="objectManager" ref="ObjectManagerImpl" />
</bean>
</beans>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。