Back Forum Reply New

Application design question: property and object events

Hi,

I have a question about designing object events with Spring amp; 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.

Cheers !
Marius
¥
Back Forum Reply New