Hey!

I?ve start working with JBoss Aop not long ago, so I?m just another newbie. :)
When trying to run my program with this jboss-aop.xml : 
<aop>
  |     <bind pointcut="execution(void 
$instanceof{com.blabla.ManagedElement}->set*(..))">
  |         <interceptor class="com.blabla.listener.AopObserver"/>
  |     </bind>
  | </aop>
I get the following exception :
?10:03:06,351 ERROR [STDERR] [warn] AOP Instrumentor failed to transform 
com.blabla.rules.Rule_$$_javassist_231
10:03:06,351 ERROR [STDERR] javassist.bytecode.DuplicateMemberException: 
duplicate method: _getAdvisor in com.blabla.rules.Rule_$$_javassist_231?

Except to this exception ? everything works just fine!
I?ve notice that if I remove the $instanceof, no exception is thrown at all 
(Yet, I lose utilities).

How can I slove this problem?

Thanks!
Sharon.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090537
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to