ColdBox Platform Version 3.7.0

coldbox.system.aop.aspects
Class MethodLogger

WEB-INF.cftags.component
        extended by coldbox.system.aop.aspects.MethodLogger
All Implemented Interfaces:
MethodInterceptor

public class MethodLogger
extends WEB-INF.cftags.component

A simple interceptor that logs method calls and their results


Constructor Summary
init([boolean logResults='true'])
          Constructor
 
Method Summary
 any invokeMethod(any<MethodInvocation> invocation)
          Invoke an AOP method invocation
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init([boolean logResults='true'])
Constructor

Parameters:
logResults - Do we log results or not?
Method Detail

invokeMethod

public any invokeMethod(any<MethodInvocation> invocation)
Invoke an AOP method invocation

Specified by:
invokeMethod in interface MethodInterceptor
Parameters:
invocation - The method invocation object: coldbox.system.aop.MethodInvocation

ColdBox Platform Version 3.7.0