org.jboss.ejb3.tx
Class RetryingInterceptor
java.lang.Object
org.jboss.ejb3.tx.AbstractInterceptor
org.jboss.ejb3.tx.RetryingInterceptor
- All Implemented Interfaces:
- org.jboss.aop.advice.Interceptor
public class RetryingInterceptor
- extends AbstractInterceptor
Retry an operation if the transaction is rolled back.
|
Method Summary |
protected
<A extends java.lang.annotation.Annotation>
A |
|
getAnnotation(org.jboss.aop.joinpoint.Invocation invocation,
java.lang.reflect.Method method,
java.lang.Class<A> annotationType)
|
java.lang.Object |
invoke(org.jboss.aop.joinpoint.Invocation invocation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryingInterceptor
public RetryingInterceptor()
getAnnotation
protected <A extends java.lang.annotation.Annotation> A getAnnotation(org.jboss.aop.joinpoint.Invocation invocation,
java.lang.reflect.Method method,
java.lang.Class<A> annotationType)
invoke
public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable