Class LoggingInterceptor


  • public class LoggingInterceptor
    extends Object

    Logging interceptor

    Copyright 2010 (C) by Martin Ganserer

    Version:
    1.0.0
    Author:
    Martin Ganserer
    • Constructor Detail

      • LoggingInterceptor

        public LoggingInterceptor()
    • Method Detail

      • log

        public Object log​(javax.interceptor.InvocationContext invocationContext)
                   throws Exception
        Log the method invocation
        Parameters:
        invocationContext -
        Returns:
        the invocation result
        Throws:
        Exception - if the invocation of the intercepted method has failed