I may cross-post this on the JBoss Cache forum too...

I have a class which is "prepared" in the aop.xml file.

The TreeCacheAop implementation then calls this:


  | 
  | InstanceAdvisor advisor = ((Advised) obj)._getInstanceAdvisor();
  |  advisor.appendInterceptor(new CacheInterceptor(this, fqn, type));

where obj is the prepared object.
Then I call
fieldX = val
inside my class where fieldX is a member of my class.
The interceptor's "invoke" never gets called, so the change never gets 
committed to the cache.

Could someone help me try to figure this out?
There is another class that extends this class, and field accesses on that 
class are intercepted. Could this be a problem with intercepting field accesses 
in a superclass?

Let me know what more info I can provide.
This is completely preventing me from using the jboss cache since many of my 
field updates are not being committed.

Jboss AS 4.0.1.sp1
jboss-aop_1.1.1 (jboss-aop-jdk50.deployer)
jbossCache-1.2.1
java  (build 1.5.0_02-b09)
-andy



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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to