-
Aug 22nd, 2011, 11:28 AM
#1
AOP on Domain objects in a plugin
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.
Any other ideas?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules