I want to do AOP in Griffon's controller by using invokeMethod()
, for example: add begin transaction advice to 'before' joint point and commit transaction advice to 'after' joint point in particular methods of all Griffon's controller.
I haven't verify this yet but I am afraid that the framework already has invokeMethod()
for controller classes. Can I add a new invokeMethod()
without affecting the previously defined invokeMethod()
in a Groovy class? How to do that?