org.mybatis.guice.transactional
Class TransactionalMethodInterceptor

java.lang.Object
  extended by org.mybatis.guice.transactional.TransactionalMethodInterceptor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public final class TransactionalMethodInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor

Method interceptor for Transactional annotation.

Version:
$Id: TransactionalMethodInterceptor.java 3687 2011-03-16 13:37:53Z simone.tripodi $

Constructor Summary
TransactionalMethodInterceptor()
           
 
Method Summary
 Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
          
 void setSqlSessionManager(org.apache.ibatis.session.SqlSessionManager sqlSessionManager)
          Sets the SqlSessionManager instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalMethodInterceptor

public TransactionalMethodInterceptor()
Method Detail

setSqlSessionManager

public void setSqlSessionManager(org.apache.ibatis.session.SqlSessionManager sqlSessionManager)
Sets the SqlSessionManager instance.

Parameters:
sqlSessionManager - the SqlSessionManager instance.

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
              throws Throwable

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
Throwable


Copyright © 2010-2011 MyBatis.org. All Rights Reserved.