[jboss-dev-forums] [Design of JBossCache] - PojoCacheListener and FIELD based session repl
bstansberry@jboss.com
do-not-reply at jboss.com
Thu Nov 16 13:15:43 EST 2006
I don't think I can remove the code that registers the FieldBasedClusteredSession as an Observer on session attribute pojos. I think we were thinking I could use PojoCacheListener to get the needed events, but that won't work.
Problem is the PojoCacheListener events don't give info about where the affected pojo is registered. Without that I have no way to tie the event back to the relevant session.
Not giving storage information seems a weakness, IMHO. I realize the difficulty though, if the pojo is multiply attached or is a sub-pojo.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986640#3986640
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986640
More information about the jboss-dev-forums
mailing list