Here's an update. I ran AopC over my classes using the same jboss-aop.xml and it aspectized them. When I added the same objects to the TreeCacheAop it now appears to be trying to create a tree of the objects that compose my CounterLicense, but it fails with this error:
java.lang.IllegalArgumentException: get/set types differ | at org.jboss.cache.aop.CachedAttribute.setType(CachedAttribute.java:41) | at org.jboss.cache.aop.CachedType.analyze(CachedType.java:163) | at org.jboss.cache.aop.CachedType.<init>(CachedType.java:55) | I've not confirmed this with a debugger, but from reading the CachedType code I'm fairly sure that this is because one of the component object has an overloaded set method (e.g. setValue(Object) and setValue(String)), and the second method with the same attribute name causes this error. Is there any way to work around this (other than changing the classes)? Does the TreeCacheAop only detect changes via get/set methods or does it examine modifications to fields directly? If so, can I configure the prepare such that it ignores the methods on only considers the fields? Or am I just talking garbage? -Andrew View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852117#3852117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852117 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
