Class TransactionInterceptor

Object
com.liferay.portal.kernel.aop.ChainableMethodAdvice
com.liferay.portal.spring.transaction.TransactionInterceptor

public class TransactionInterceptor extends com.liferay.portal.kernel.aop.ChainableMethodAdvice
Author:
Shuyang Zhou
  • Constructor Details

    • TransactionInterceptor

      public TransactionInterceptor(TransactionExecutor transactionExecutor)
  • Method Details

    • createMethodContext

      public TransactionAttributeAdapter createMethodContext(Class<?> targetClass, Method method, Map<Class<? extends Annotation>,Annotation> annotations)
      Specified by:
      createMethodContext in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
    • invoke

      public Object invoke(com.liferay.portal.kernel.aop.AopMethodInvocation aopMethodInvocation, Object[] arguments) throws Throwable
      Overrides:
      invoke in class com.liferay.portal.kernel.aop.ChainableMethodAdvice
      Throws:
      Throwable