gov.va.medora.mdws.BaseServiceLogger.Invoke C# (CSharp) Method

Invoke() public method

public Invoke ( IMethodInvocation invocation ) : object
invocation IMethodInvocation
return object
        public object Invoke(IMethodInvocation invocation)
        {
            System.Console.WriteLine("I'm in the AOP Invoke");
            LOG.Debug(String.Format("BaseServiceLogger intercepted call : about to invoke method '{0}'", invocation.Method.Name));
            object retVal = invocation.Proceed();
            string retString = new TORenderer(retVal).ToString();
            LOG.Debug(String.Format("BaseServiceLogger intercepted call : returned '{0}'", retString));
            return retVal;
        }
BaseServiceLogger