[jboss-dev-forums] [Design of JBossCache] - Re: PojoCacheListener and FIELD based session repl
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Nov 20 15:30:23 EST 2006
"ben.wang at jboss.com" wrote : Ic. Well, listening on as a POJO observer is ok except you need to declare the Obervable pattern in AOP. A little bit of PITA.
|
I thought PojoCache already required the pojo to implement Subject, and that the mixin was being added via your standard pojocache-aop.xml transformation? So, it's just a matter of the session registering as an Observer. That's a PITA, but its a PITA that's already implemented from 4.0.x, so no big deal.
There's a couple failing unit tests related to this, so probably I missed something.
anonymous wrote :
| How about in your PojoCacheListener impl, you store this kind of information? I.e., store the (session, pojo) pair so you know which session it is tied to. Just a thought.
Ugh. Hopefully not needed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987404#3987404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987404
More information about the jboss-dev-forums
mailing list