Hi guys,
This is a continuation from the original post - [coldbox:14942] [Coldbox 3.1] First date with AOP. I thought I would start a new thread since i’m now working with CB 3.5 (which supports AOP).
I configured an aspect to execute whenever UserService.save() is called as per the wiki instructions. I just some tracing in order to provide the group more context in trying to resolve. I can see that the init function is being called however the invokeMethod is never triggered.
I have the listeners registered in Wirebox, and UserService would be picked up in my scanLocations.
This is my wirebox config for the aspect:
mapAspect(“MethodLogger”).to(“platform.common.model.aspects.MethodLogger”);
bindAspect(classes=match().mappings(‘UserService’),methods=match().methods(‘save’),aspects=“MethodLogger”);
Any ideas why the invokeMethod wouldn’t be executing?
Thanks.
Nolan