2016年2月15日

Spring AOP(配置文件方式)

摘要: spring配置文件: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSch 阅读全文

posted @ 2016-02-15 08:07 J·Marcus 阅读(312) 评论(0) 推荐(0) 编辑

error at ::0 can't find referenced pointcut解决办法(转载)

摘要: 原文:http://blog.sina.com.cn/s/blog_9ecb0d9d0101fheg.html Spring中采用annotation的方式实现AOP代理,运行测试代码时抛出以下异常: Exception in thread "main" org.springframework.be 阅读全文

posted @ 2016-02-15 07:57 J·Marcus 阅读(1776) 评论(0) 推荐(1) 编辑

Spring AOP(注解方式)

摘要: 配置文件: xmlns:aop="http://www.springframework.org/schema/aop" http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring 阅读全文

posted @ 2016-02-15 07:31 J·Marcus 阅读(323) 评论(0) 推荐(0) 编辑

导航