box.system.aop.aspects.concurrent.Callable interface">
|
|
ColdBox Platform Version 3.1.0
|
|
FRAMES
|
coldbox.system.aop.aspects
Class
MethodLogger
WEB-INF.cftags.component
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
|
| Methods inherited from class WEB-INF.cftags.component |
|
init
public init([boolean logResults='true'])
-
Constructor
- Parameters:
logResults - Do we log results or not?
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.1.0
|
|
FRAMES
|