`
82826200
  • 浏览: 13447 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

applicationContext-beans.xml

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: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">

<bean id="userManager" class="com.wuyu.usermgr.manager.UserManagerImpl">
<property name="sessionFactory" ref="sessionFactory"/>
<property name="logManager" ref="logManager"/>
</bean>

<bean id="logManager" class="com.bjsxt.wuyu.manager.LogManagerImpl">
<property name="sessionFactory" ref="sessionFactory"/>
</bean>
</beans>
分享到:
评论

相关推荐

    com.springsource.org.objectweb.asm-3.2.0.jar

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customAreaService' defined in class path resource [applicationContext.xml]: Initialization of bean failed;...

    Struts2+Spring3+MyBatis3完整实例

    - Loading XML bean definitions from file [E:\Eclipse_C\workspace\MyStrutsTest\WebRoot\WEB-INF\classes\applicationContext-beans.xml] - JSR-330 'javax.inject.Named' annotation found and supported for ...

    spring-boot-reference.pdf

    15.2. Importing XML Configuration 16. Auto-configuration 16.1. Gradually Replacing Auto-configuration 16.2. Disabling Specific Auto-configuration Classes 17. Spring Beans and Dependency Injection 18. ...

    spring4.3.9相关jar包

    spring-oxm.jar:Spring对于object/xml映射的支持,可以让JAVA与XML之间来回切换 spring-messaging.jar: spring-test.jar:对JUNIT等测试框架的简单封装 spring-tx.jar:为JDBC、Hibernate、JDO、JPA等提供的一致的...

    Spring 3.0所需jar文件和对应的配置文件

    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is java.lang....

    生活轨迹SSH服务端

    -- &lt;param-value&gt;/WEB-INF/applicationContext-*.xml,classpath*:applicationContext-*.xml&lt;/param-value&gt; --&gt; &lt;param-value&gt;classpath:beans.xml&lt;/param-value&gt; &lt;/context-param&gt; &lt;filter-name&gt;struts2...

    spring4.1核心包

    14. spring-oxm-4.1.1.RELEASE.jar Spring对于object/xml映射的支持,可以让JAVA与XML之间来回切换 15. spring-test-4.1.1.RELEASE.jar 支持Spring组建JUnit和TestNG的单元测试和集成测试。 16. spring-tx-4.1.1....

    Spring项目主配置文件

    在src文件夹下创建xml文件,bean.xml或者applicationContext.xml都可以,在下载的Spring包中H:\spring-framework-4.1.0.RELEASE-dist\spring-framework-4.1.0.RELEASE\docs\spring-framework-reference\...

    springweb3.0MVC注解(附实例)

    &lt;param-value&gt;classpath:applicationContext.xml&lt;/param-value&gt; &lt;/context-param&gt; &lt;!-- Spring 容器启动监听器 --&gt; &lt;listener-class&gt; org.springframework.web.context.ContextLoaderListener &lt;/listener-...

    struts hibernate spring 集成时使用依赖注解的方式的秘籍

    //applicationContext.xml文件中添加 &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi=...

    springmvc笔记

    新建或拷贝applicationContext.xml &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" ...

    asm5.0.jar

    Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in URL [file:/E:/cloudwave-core/src/main/webapp/WEB- INF/classes/...

    开发搭建工具

    powerdesigner125Crack.rar visio_pro_2003_chs_cdkey.txt 2010.1到2010.7的项目sichuanTelecommunication 的静态页面 ...Application_beans.xml FileList.txt log4j.properties SqlMapConfig.xml struts.xml web.xml

    halloworld

    ..........\src\applicationContext.xml ..........\...\cc\lz\action\action.java ..........\...\..\..\......\BaseAction.java ..........\...\..\..\dao\XiangmubiaoDAO.java ..........\...\..\..\persist...

    Spring MVC 入门实例

    上面, 我们在 web.xml 文件中告诉 ContextLoaderListener, 我们还有另外两个配置文件 /WEB-INF/database.xml 和 /WEB-INF/applicationContext.xml. applicationContext.xml: 1 &lt;?xml version="1.0" encoding=...

    spring aop 实现源代码--xml and annotation(带lib包)

    ApplicationContext context = new ClassPathXmlApplicationContext("beans-config.xml"); 9. MessageSender sender = (MessageSender)context.getBean("messageSender"); 10. sender.send("message"); 11. } ...

    客户关系管理系统框架搭建(二)

    ApplicationContext ctx = new ClassPathXmlApplicationContext("beans.xml"); ISysUserGroupDao sysUserGroupDao = (ISysUserGroupDao) ctx.getBean(ISysUserGroupDao.SERVICE_NAME); ...

    xmljava系统源码-springframework-source-5.1.x:这是一个注释版的Spring源码分析工程,版本为5.1.x,

    xml java系统源码 源码DEBUG专用工程。 微信搜索:'菜鸟封神记'公众号,定期分享Spring源码系列内容。 核心容器 spring-beans,spring-core: 这两个模块是Spring的核心模块,提供了IOC和DI的支持。 spring-context: ...

    spring_MVC源码

    06. &lt;param-value&gt;classpath:applicationContext*.xml&lt;/param-value&gt; 07. &lt;/context-param&gt; 08. &lt;listener&gt; 09. &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt; 10. ...

    S2SH整合报错

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed;...

Global site tag (gtag.js) - Google Analytics