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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionproceed
(Object proxy, Method method, Object[] args, Object orgProxy, Method orgMethod, Object[] orgArgs) void
setAnnotation
(Annotation annotation) Methods inherited from class org.tentackle.reflect.AbstractInterceptor
getAnnotation, getChainedInterceptor, invoke, setChainedInterceptor
-
Constructor Details
-
TransactionInterceptor
public TransactionInterceptor()Creates aTransaction
interceptor.
-
-
Method Details
-
setAnnotation
- Specified by:
setAnnotation
in interfaceorg.tentackle.reflect.Interceptor
- Overrides:
setAnnotation
in classorg.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 classorg.tentackle.reflect.AbstractInterceptor
- Throws:
Throwable
-