spring
registerIn1030
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用Spring+Quartz的定时任务。
导入包 1、log4j-1.2.16 2、quartz-2.1.7 3、slf4j-api-1.6.1.jar 4、slf4j-log4j12-1.6.1.jar 在spring的配置文件applicationContext.xml中 <bean id="methodInvokingJobDetail" class="org.springfr原创 2015-11-02 09:52:34 · 556 阅读 · 0 评论 -
spring的事务配置
spring事务配置转载 2015-11-03 10:36:19 · 332 阅读 · 0 评论 -
spring配置文件
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.spring原创 2015-11-03 10:37:17 · 401 阅读 · 0 评论 -
AOP的两种实现方式
AOP,面向切面编程,可以通过预编译方式和运行期动态代理实现在不修改源代码的情况下给程序动态统一添加功能的一种技术。 Aspect Oriented Programming(AOP),是目前软件开发中的一个热点,也是Spring框架中的一个重要内容。利用AOP可以对业务逻辑的各个部分进行隔离,从而使得业务逻辑各部分之间的耦合度降低,提高程序的可重用性,同时提高了开发的效率。 有两种转载 2016-04-26 15:34:23 · 648 阅读 · 0 评论 -
springMvc和shiro整合,shiro的realm不能自动注入的问题
转自:http://blog.youkuaiyun.com/heng_ji/article/details/50577779 springMvc和shiro整合,shiro的realm不能自动注入的问题 最近研究shiro,一开头就遇到了大困难,调试了3小时。 问题描述如下:shiro和spring mvc整合,shiro自定义了realm。 其中自定义的realm里面居然不能使用@Autowi转载 2016-05-25 16:30:54 · 2351 阅读 · 0 评论 -
Spring Mvc 一个请求的执行过程
配置文件web.xml Spring org.springframework.web.servlet.DispatcherServlet contextConfigLocation /WEB-INF/config/spring/spring-servlet.xml 1 Spr原创 2016-06-17 18:30:12 · 1250 阅读 · 0 评论 -
面向切面编程(AOP)应用,日志切面,基于注解
名词解释: 切面(Aspect) :一个关注点的模块化,这个关注点可能会横切多个对象,在本例中,“切面”就是类SystemLogAspect所的具体行为,例如,“切面”可以在ApplicationContext中来配置,或者使用注解@Aspect。 @Aspect //定义一个切面 @Component @Order(1) public class SystemLog原创 2016-04-19 18:08:53 · 2173 阅读 · 0 评论
分享