Announcement Announcement Module
Collapse
No announcement yet.
AOP on Domain objects in a plugin Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?
Working...
X