"[EMAIL PROTECTED]" wrote : OutServlet is not calling cache.put() after adding 
the new value to the list.  A plain TreeCache cannot detect changes made to 
objects placed in the cache; it will only replicate when put() or remove() are 
called.
  | 
  | If you want a cache that can automatically detect and replicate changes 
made to cached objects, you need to use TreeCacheAop. In fact, not having to 
remember to call put() all the time is one of the key benefits of TreeCacheAop 
:)

I was under the impression I was using TreeCacheAop :). It is defined in my 
mbean xml config as:
mbean code="org.jboss.cache.aop.TreeCacheAop"

Is this assumption false?

Can you confirm  that it's ok to use a list as the value in the cache, and that 
I don't have to have a wrapper object so that I may "aspectize" the getter and 
setter of the list?

Many Thanks,

Ben

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909701#3909701

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3909701


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to