Thanks for the reply. What you suggested did not initially work. I still had 
the same problem. BUT your suggestion lead me to wonder if it happened to be 
related to how Address "implements" ITrackedObject.

It turns out I am introducing the interface ITrackedObject to Address in the 
jboss-aop.xml. Since Address does not actually implement ITrackedObject until 
AFTER load time weaving, there's no way (I'm guessing) I can make this work.

When I instead make Address directly implement ITrackedObject, everything 
worked.

So, apparently, I cannot use $instanceof on a class where I'm checking for an 
$instanceof that is introduced. That's not entirely a problem. I'll see if 
using precedence makes it work.

I wonder if this is a fringe case or a bug??? Not really sure.

Thanks again for your suggestion, at least I can make this example work (though 
now how I had hopped).

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to