Feb 14th, 2011, 04:35 AM
Application design question: property and object events
I have a question about designing object events with Spring & Hibernate.
At the moment i've created several annotations, @OnObjectCreate() @OnFieldChange(), @OnObjectDelete().
The annotations hold a class reference to 'action handlers', which are triggered via an Hibernate interceptor per event. (E.g. a NotifyAction class to notify on changes of a field)
I mean to extend this, and add methods to the annotation descriptor, but before doing so, i would like to know if Spring already facilitates this (Spring Flow?) and i'm not re-inventing the wheel.