I'm not sure I understand what you want to do. Do you want to get notified
when a POJO has been modified, e.g.
p.setAge(80);
triggers a
pojoModified(p, age, 80) notification ?
The change is quite intrusive, so I want to see the use case first. Also, what
happens if you don't use transactions
When TreeCacheAop detects a field R/W, the EventInterceptor will send out an
event of object modified (and potentially the mod. fields), not just the field
event. So this is object level event.
I am not sure if I like the idea of transaction-based event sending out from
JBossCache either.
Ben,
I'm happy for you to move this thread to the design forum. I saw it there, but
it looks, well, very under-used :-)
As for your suggestion, I'm not sure that it'll do what I'm thinking. Sending
an event on a field r/w is probably too limiting. Realistically I'm after a
single user-defined
Tim,
If this proposal is just to get aop to emit an object-based event, then I am
adding a new feature in TreeCacheAop (release 1.2.2) that allows customed
dynamic interceptor. You can then add an EventIntecetor after the current
CacheInterceptor to intercept and emit object level event based