Class TransactionalMethodInterceptor

java.lang.Object
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.
  • Constructor Details

    • TransactionalMethodInterceptor

      public TransactionalMethodInterceptor()
  • Method Details

    • 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