Package org.mybatis.guice.transactional
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioninvoke
(org.aopalliance.intercept.MethodInvocation invocation) void
setSqlSessionManager
(org.apache.ibatis.session.SqlSessionManager sqlSessionManager) Sets the SqlSessionManager instance.
-
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
- Specified by:
invoke
in interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
-