Just my two cents, I see nothing wrong with the current API, maybe adding a
AbstractPojoCacheListener to make life a little more convenient.
I do think CachedFieldInterceptor needs to be removed before the data is actually taken
out of the cache, and not in a seperate thread if that is being considered. As it stands
now, after a pojo is detached from a remote cache instance, it still tries to retrieve
values from the cache, so you get a null value.
I threw a quick unit test up under
http://jira.jboss.com/jira/browse/JBCACHE-713
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054928#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...