Class TransactionInterceptor

java.lang.Object
org.tentackle.reflect.AbstractInterceptor
org.tentackle.pdo.TransactionInterceptor
All Implemented Interfaces:
InvocationHandler, org.tentackle.reflect.Interceptor

public final class TransactionInterceptor extends org.tentackle.reflect.AbstractInterceptor
Implementation of the Transaction interception.
  • Constructor Details

    • TransactionInterceptor

      public TransactionInterceptor()
      Creates a Transaction interceptor.
  • Method Details

    • setAnnotation

      public void setAnnotation(Annotation annotation)
      Specified by:
      setAnnotation in interface org.tentackle.reflect.Interceptor
      Overrides:
      setAnnotation in class org.tentackle.reflect.AbstractInterceptor
    • proceed

      public Object proceed(Object proxy, Method method, Object[] args, Object orgProxy, Method orgMethod, Object[] orgArgs) throws Throwable
      Specified by:
      proceed in class org.tentackle.reflect.AbstractInterceptor
      Throws:
      Throwable