Class CommandInterceptor

    • Constructor Detail

      • CommandInterceptor

        public CommandInterceptor()
    • Method Detail

      • interceptCommand

        public Object interceptCommand​(javax.interceptor.InvocationContext context)
                                throws Throwable
        Intercepts a call to bean method annotated by any of the fault tolerance annotations.
        Parameters:
        context - Invocation context.
        Returns:
        Whatever the intercepted method returns.
        Throws:
        Throwable - If a problem occurs.