Spring
天空win
技术爱好者
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Spring加载properties配置资源文件的应用
1、加载配置资源文件 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> classpath:conf/aa.properties classpath:conf/bb.properties classpath:conf/cc.prop原创 2015-08-26 17:56:54 · 836 阅读 · 0 评论 -
ApplicationContextAware的使用
一、使用场景:ApplicationContextAware接口主要用于在手动获取bean的时候; 二、使用步骤: 1、实现ApplicationContextAware该接口: package com*.school.common.util; import org.springframework.beans.BeansException; import org.springframew原创 2016-09-09 10:58:42 · 1061 阅读 · 1 评论 -
Spring事务管理配置
init-method="init" destroy-method="close"> true class="org.springframework.transaction.jta.JtaTransactionManager" > levels by default原创 2016-10-27 17:48:02 · 513 阅读 · 0 评论
分享