Class ExceptionRetryInterceptor

  • All Implemented Interfaces:
    java.io.Serializable

    @Interceptor
    public class ExceptionRetryInterceptor
    extends java.lang.Object
    implements java.io.Serializable
    Author:
    Michael Remijan mjremijan@yahoo.com @mjremijan
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.slf4j.Logger log  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object retryIfExceptionCaught​(javax.interceptor.InvocationContext ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        @Inject
        protected org.slf4j.Logger log
    • Constructor Detail

      • ExceptionRetryInterceptor

        public ExceptionRetryInterceptor()
    • Method Detail

      • retryIfExceptionCaught

        public java.lang.Object retryIfExceptionCaught​(javax.interceptor.InvocationContext ctx)
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception