Announcement Announcement Module
No announcement yet.
AOP on Domain objects in a plugin Page Title Module
Move Remove Collapse
Conversation Detail Module
  • 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 . 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?