`

配置文件

 
阅读更多

第一:spring_bgt.xml文件

<?xml version="1.0" encoding="gbk"?>
<beans xmlns="http://www.springframework.org/schema/beans"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
 xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
 xmlns:aop="http://www.springframework.org/schema/aop"
 xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
 http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd 
 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
 <!-- 预算编制-->
 <bean name="basePayDao" class="com.mofit.bgtMgr.bgtExpMgr.basePayMgr.dao.BasePayDao" />
 <bean name="basePayService" class="com.mofit.bgtMgr.bgtExpMgr.basePayMgr.service.BasePayService" >
  <property name="basePayDao" ref="basePayDao"></property>
 </bean>
 <!-- 经济分类和标准项关系 -->
 <bean name="ecoStdRefDao" class="com.mofit.bgtMgr.bgtExpMgr.ecoStdRef.dao.EcoStdRefDao" />
 <bean name="ecoStdRefService" class="com.mofit.bgtMgr.bgtExpMgr.ecoStdRef.service.EcoStdRefService">
  <property name="dao" ref="ecoStdRefDao"></property>
 </bean>
 
 <!-- 单位和功能分类对应关系 -->
 <bean name="deptExpRefDao" class="com.mofit.bgtMgr.bgtExpMgr.deptExpRef.dao.DeptExpRefDao" />
 <bean name="deptExpRefService" class="com.mofit.bgtMgr.bgtExpMgr.deptExpRef.service.DeptExpRefService">
  <property name="deptExpRefDao" ref="deptExpRefDao"></property>
 </bean>
 
    <!-- 人员项目公式定义 -->
 <bean name="expItemRefDao" class="com.mofit.bgtMgr.expItemRef.dao.ExpItemRefDao" />
 <bean name="expItemRefService" class="com.mofit.bgtMgr.expItemRef.service.ExpItemRefService">
  <property name="expItemRefDao" ref="expItemRefDao"></property>
 </bean>
  <!-- 数据源定义 -->
    <bean name="dataSourceDao" class="com.mofit.bgtMgr.dataSourceMgr.dao.DataSourceDao" />
 <bean name="dataSourceService" class="com.mofit.bgtMgr.dataSourceMgr.service.DataSourceService" >
  <property name="dataSourceDao" ref="dataSourceDao"></property>
 </bean>
 
  <!-- 报表权限-->
    <bean name="reportPermissDao" class="com.mofit.bgtMgr.bgtExpMgr.bgtReportMgr.reportPermissMgr.dao.ReportPermissDao" />
 <bean name="reportPermissService" class="com.mofit.bgtMgr.bgtExpMgr.bgtReportMgr.reportPermissMgr.service.ReportPermissService" >
  <property name="reportPermissDao" ref="reportPermissDao"></property>
 </bean>
 
 <!-- 报表定义 -->
    <bean name="rptTempDefineDao" class="com.mofit.bgtMgr.reportTempDefine.dao.RptTempDefineDao" />
 <bean name="rptTempDefineService" class="com.mofit.bgtMgr.reportTempDefine.service.RptTempDefineService" >
  <property name="rptTempDefineDao" ref="rptTempDefineDao"></property>
 </bean>
 
 <!-- 预算套表查询 -->
 <bean name="bgtRptQueryDao" class="com.mofit.bgtMgr.bgtReportQuery.dao.BgtRptQueryDao" />
 <bean name="bgtRptQueryService" class="com.mofit.bgtMgr.bgtReportQuery.service.BgtRptQueryService">
  <property name="bgtRptQueryDao" ref="bgtRptQueryDao"></property>
 </bean>
 
 <!-- 预算编制流程 -->
 <bean name="bgtWfDao" class="com.mofit.bgtMgr.bgtWf.dao.BgtWfDao"/>
 <bean name="bgtWfService" class="com.mofit.bgtMgr.bgtWf.service.BgtWfService" >
  <property name="bgtWfDao" ref="bgtWfDao"></property>
 </bean>
 
 <!--总财力维护 -->
 <bean name="bgtFundDao" class="com.mofit.bgtMgr.bgtFund.dao.BgtFundDao"/>
 <bean name="bgtFundService" class="com.mofit.bgtMgr.bgtFund.service.BgtFundService" >
  <property name="bgtFundDao" ref="bgtFundDao"></property>
 </bean>
 <bean name="fundMgrDao" class="com.mofit.bgtMgr.bgtFund.dao.FundMgrDao"/>
 <bean name="fundMgrService" class="com.mofit.bgtMgr.bgtFund.service.FundMgrService" >
  <property name="fundMgrDao" ref="fundMgrDao"></property>
 </bean>
 
 <!--预算参考数编制 -->
 <bean name="bgtReferDao" class="com.mofit.bgtMgr.bgtRefer.dao.BgtReferDao"/>
 <bean name="bgtReferService" class="com.mofit.bgtMgr.bgtRefer.service.BgtReferService" >
  <property name="bgtReferDao" ref="bgtReferDao"></property>
 </bean>
 
 <!-- 部门指标回收-->
 <bean name="bgtbackDao" class="com.mofit.bgtMgr.bgtBack.dao.BgtbackDao" />
 <bean name="bgtbackService" class="com.mofit.bgtMgr.bgtBack.service.BgtbackService">
  <property name="bgtbackDao" ref="bgtbackDao"></property>
 </bean>
 
 <!-- 指标年终结转标记-->
 <bean name="bgtJuncMarkDao" class="com.mofit.bgtMgr.bgtBack.dao.BgtJuncMarkDao" />
 <bean name="bgtJuncMarkService" class="com.mofit.bgtMgr.bgtBack.service.BgtJuncMarkService">
  <property name="bgtJuncMarkDao" ref="bgtJuncMarkDao"></property>
 </bean>
 
 <!--指标文模板配置 -->
 <bean name="bgtFileDao" class="com.mofit.bgtMgr.bgtFile.dao.BgtFileDao"/>
 <bean name="bgtFileService" class="com.mofit.bgtMgr.bgtFile.service.BgtFileService">
  <property name="bgtFileDao" ref="bgtFileDao"></property>
 </bean>
 
 <!-- 预算草案表 -->
 <bean name="bgtDraftDao" class="com.mofit.bgtMgr.bgtdraft.dao.BgtDraftDao"/>
 <bean name="bgtDraftService" class="com.mofit.bgtMgr.bgtdraft.service.BgtDraftService">
  <property name="bgtDraftDao" ref="bgtDraftDao"></property>
 </bean>

 <!-- 预算编制单位关系设置 -->
 <bean name="bgtDeptRefDao" class="com.mofit.bgtMgr.bgtDeptRef.dao.BgtDeptRefDao"/>
 <bean name="bgtDeptRefService" class="com.mofit.bgtMgr.bgtDeptRef.service.BgtDeptRefService">
  <property name="bgtDeptRefDao" ref="bgtDeptRefDao"></property>
 </bean>
 <!-- 预算支出执行情况-->
 <bean name="expImptMgrDao" class="com.mofit.bgtMgr.expImptMgr.dao.ExpImptMgrDao" />
 <bean name="expImptMgrService" class="com.mofit.bgtMgr.expImptMgr.service.ExpImptMgrService">
  <property name="expImptMgrDao" ref="expImptMgrDao"></property>
 </bean>
 <!-- 政府采购预算 -->
 <!-- <bean name="bgtZfcgDao" class="com.mofit.bgt.zfcg.dao.BgtZfcgDao" />
 <bean name="bgtZfcgService" class="com.mofit.bgt.zfcg.service.BgtZfcgService">
  <property name="dao" ref="bgtZfcgDao"></property>
 </bean> -->
 <!-- 预计支出录入功能  -->
 <bean name="bgtPayEntryDao" class="com.mofit.bgtMgr.bgtPayEntry.dao.BgtPayEntryDao" />
 <bean name="bgtPayEntryService" class="com.mofit.bgtMgr.bgtPayEntry.service.BgtPayEntryService">
  <property name="bgtPayEntryDao" ref="bgtPayEntryDao"></property>
 </bean>
 
 <!-- 专管员财力申请 -->
 <bean name="zgyFundApplayDao" class="com.mofit.bgtMgr.bgtFund.dao.ZgyFundApplayDao" />
 <bean name="zgyFundApplayService" class="com.mofit.bgtMgr.bgtFund.service.ZgyFundApplayService">
  <property name="zgyFundApplayDao" ref="zgyFundApplayDao"></property>
 </bean>
 
 <!-- 指标文 -->
  <bean id="bgtDocDao" class="com.oa.bgtDoc.dao.BgtDocDao" />
 <bean id="bgtDocService" class="com.oa.bgtDoc.service.BgtDocService">
  <property name="dao" ref="bgtDocDao" />
 </bean>
</beans>

第二:applicationContext_main.xml文件

<?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:context="http://www.springframework.org/schema/context"
 xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jee="http://www.springframework.org/schema/jee"
 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
       http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd">

 <import resource="applicationContext_common.xml" />
 <import resource="applicationContext_mvc.xml" />
 <import resource="applicationContext_database.xml" />
 <import resource="applicationContext_wf.xml" />
 <import resource="applicationContext_cache.xml" />
 <import resource="applicationContext_pub.xml" />
 <!-- office -->
 <import resource="applicationContext_office.xml" />
 <!-- 流程配置 -->

 <import resource="spring_bgt.xml" />
 <import resource="spring_item.xml" />
 <import resource="spring_standard.xml" />

 <import resource="application_client.xml" />
 <import resource="applicationContext_bus.xml" />

</beans>

 

分享到:
评论

相关推荐

    保存INI配置文件和读取配置文件

    INI 配置文件的保存和读取 INI 配置文件是一种常见的文件格式,用于存储程序的配置信息。它是一种简单的持久化机制,允许程序在启动时初始化配置信息。INI 文件由多个节(Section)组成,每个节中可以有多个键名...

    SourceInsight 4.0配置文件

    **SourceInsight 4.0配置文件详解** SourceInsight是一款强大的源代码分析和编辑工具,尤其在编程语言如C/C++、Java、C#等领域中广泛应用。它提供了高效的代码浏览、查找、编辑和理解功能,是软件开发人员提高工作...

    sourceinsight4 风格配置文件

    **SourceInsight 4 风格配置文件详解** SourceInsight 4 是一款深受程序员喜爱的源代码分析和编辑工具,它提供了强大的代码浏览、查找、跳转和编辑功能。在SourceInsight中,用户可以根据个人喜好和工作需求定制...

    Android读写配置文件

    在Android开发中,读写配置文件是常见的任务,主要用于存储应用程序的设置、用户偏好或者其他持久化数据。配置文件通常以XML或JSON格式存在,因为它们结构清晰,易于解析。本实例将详细介绍如何在Android中进行读取...

    proe config配置文件大全

    标题中的“proe config配置文件大全”指的是针对Pro/Engineer Wildfire 5.0(简称ProE 5.0)软件的一系列配置文件集合。ProE是一款由PTC公司开发的三维参数化建模软件,广泛应用于产品设计和工程领域。配置文件是...

    C#读写配置文件(附源代码)

    在C#编程中,配置文件是用于存储应用程序运行时所需的设置和参数的重要工具。这些设置可以包括数据库连接字符串、API密钥、应用路径等。本教程将深入探讨如何使用C#进行配置文件的读写操作,并提供源代码供学习者...

    Linux C语言的配置文件操作库

    在Linux系统中,C语言作为底层编程的主要工具,其对配置文件的操作往往涉及到繁琐的文件I/O操作。然而,为了简化这一过程,开发者通常会利用特定的库来处理配置文件,比如读取、写入、解析键值对等。本文将深入探讨...

    vSphere 主机配置文件 5.5

    vSphere 主机配置文件是VMware vSphere虚拟化平台的一个重要组成部分,它允许IT管理员创建、管理和应用配置文件来标准化和自动化vCenter Server中的ESXi主机配置。使用vSphere主机配置文件可以提高效率并减少重复...

    Hikvision配置文件解码器.zip

    标题中的“Hikvision配置文件解码器.zip”指出,这是一个与解码Hikvision视频监控设备配置文件相关的工具或程序。Hikvision是全球知名的安防监控设备制造商,其产品广泛应用于各种场所,如家庭、商业设施、公共安全...

    海康威视配置文件解码专用工具器.rar

    本文将详细讲解海康威视配置文件解码的专业知识,以及如何利用“海康威视配置文件解码专用工具器”进行操作。 首先,了解什么是配置文件。在海康威视的设备中,配置文件通常包含了摄像头、NVR(网络视频录像机)或...

    LabVIEW 写入与读取配置文件

    在LabVIEW中,配置文件是用于存储应用程序设置、参数或状态的关键元素。这些文件通常以.ini或.xml格式存在,允许程序在运行时根据这些配置进行自定义行为。本教程将深入探讨如何在LabVIEW中进行配置文件的写入与读取...

    linux c 配置文件读写

    在Linux系统中,C语言开发过程中,经常需要与配置文件打交道,进行读取和写入操作。配置文件通常用于存储程序的设置或用户偏好,使其能够根据不同的环境或需求进行定制。下面我们将深入探讨如何在C语言中实现对配置...

    MACBook颜色配置文件Apple-MAC-OS-Color LCD.rar

    标题中的“MACBook颜色配置文件Apple-MAC-OS-Color LCD.rar”指的是为苹果MacBook设计的一种特定的颜色配置文件,这种文件通常以ICC(International Color Consortium)格式存在,用于优化显示器的色彩表现,确保...

    mac的颜色配置文件

    "mac的颜色配置文件",也就是苹果的ICC(International Color Consortium)配色文件,是这个过程中的重要组成部分。 ICC配色文件是一种标准化的方式,用来描述显示器、打印机、扫描仪等设备如何解释和再现颜色。这些...

    C++读写ini配置文件

    在C++编程中,处理配置文件通常是为了存储和读取应用程序的设置或用户偏好。ini文件是一种常见的配置文件格式,其结构简单,易于理解和操作。本文将深入探讨如何使用C++来读写ini配置文件,主要参考提供的"rwconfig....

    creo3.0配置文件详细设置

    在三维建模软件Creo 3.0中,配置文件(.prf文件)是控制程序行为和用户界面的关键元素。这些文件允许用户根据个人习惯和项目需求定制软件的各个方面,包括显示设置、单位系统、内存分配、启动选项等。本篇文章将详细...

    汇川伺服电机 Ethercat配置文件

    本篇将详细探讨"汇川伺服电机 Ethercat配置文件"的相关知识点,以及如何进行有效的配置。 EtherCAT(Ethernet for Control Automation Technology)是一种实时工业以太网协议,它允许高速数据传输和低延迟,非常...

    MAC的颜色配置文件

    MAC的颜色配置文件,如"MAC.icc",就是这样的一个工具,它专为苹果的Mac系统设计,但也适用于Windows系统,以提供更佳的视觉效果。本文将深入探讨颜色配置文件的工作原理、icc文件的作用以及如何在不同操作系统中...

    联想笔记本屏幕色彩配置文件

    屏幕色彩配置文件是针对电脑显示器显示颜色不准确问题的一个解决方案,尤其在一些特定型号的联想笔记本,如Y400,可能会出现屏幕偏色现象,比如偏蓝或偏黄。这种情况可能由于硬件出厂设置、驱动程序问题或者操作系统...

Global site tag (gtag.js) - Google Analytics