I would like to wrap Domain class's dynamic methods like save() get*() with an Around advice (using Spring AOP). That too I would like to do within a plugin.
Based on some investigation some people talk about solution which involves Hibernate's events http://stackoverflow.com/questions/1...in-object-save . However my objective is to use the outcome of the call in the After advice and sometimes I want to skip actual call itself which I feel is not possible with Event model.
I could not find any details (documentation) on how dynamic methods in a Domain works. However right now, the detail on how I could add AOP in Domain objects during plugin time will be helpful.