Class FaultToleranceInterceptor

    • Field Detail

      • PAYARA_FAULT_TOLERANCE_INTERCEPTOR_EXECUTED

        protected static final String PAYARA_FAULT_TOLERANCE_INTERCEPTOR_EXECUTED
        See Also:
        Constant Field Values
    • Constructor Detail

      • FaultToleranceInterceptor

        public FaultToleranceInterceptor()
    • Method Detail

      • intercept

        public Object intercept​(jakarta.interceptor.InvocationContext context)
                         throws Exception
        Throws:
        Exception
      • isStereotype

        public boolean isStereotype​(Class<? extends Annotation> annotationType)
        Description copied from interface: Stereotypes
        Checks for sterotype annotation.
        Specified by:
        isStereotype in interface Stereotypes
        Parameters:
        annotationType - the type to check
        Returns:
        true, if the given annotation type is a sterotype annotation
      • shouldIntercept

        protected boolean shouldIntercept​(jakarta.interceptor.InvocationContext invocationContext)
                                   throws Exception
        Throws:
        Exception