梦之天堂

我学故我知,我思故我在;java你我,happy你我——sylilzy

BlogJava 首页 新随笔 联系 聚合 管理
  3 Posts :: 8 Stories :: 2 Comments :: 0 Trackbacks

06 2006 档案

spring的事务处理详解:调用一个方法后的事务处理过程
     摘要: spring调用一个方法后的事务处理过程:
请 参照TransactionInterceptor的invoke方法:
  阅读全文

posted @ 2006-06-14 18:34 sylilzy 阅读(333) | 评论 (0)  编辑

spring的事务处理详解:调用一个方法前的事务处理过程(源代码分析)
     摘要: 实际上,在spring的事务中,只要该类被设置为了事务代理:

拦截器都会创建一个TransactionInfo 对象:

TransactionInfo txInfo = new TransactionInfo(txAttr, method); ...  阅读全文

posted @ 2006-06-14 18:34 sylilzy 阅读(1068) | 评论 (0)  编辑

spring的事务处理详解:事务创建
     摘要: 在配置spring的事务处理时,无论使用TransactionProxyFactoryBean,还是使用BeanNameAutoProxyCreator
spring的事务处理都是主要由TransactionInterceptor来拦截完成,此类扩展自org.aopalliance.intercept.MethodInterceptor,要查看spring的事务处理过程,首先要了解
TransactionInterceptor类的执行过程  阅读全文

posted @ 2006-06-14 18:01 sylilzy 阅读(3459) | 评论 (0)  编辑