2 Replies Latest reply on Sep 12, 2005 11:13 AM by freezy

    jboss-aop.xml changes result in non-aspectized app launch

    freezy

      I'm having a weird problem: if I change the file "jboss-aop.xml" in my eclipse project and try to start my AOP-Application, it's running without any applied aspects (the methods are not intercepted, like it's a normal java application).

      However, I found a workaround: if I change the code in a method which will be intercepted, the AOP-application runs as it should do.

      my jboss-aop.xml:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <aop>
       <bind pointcut="execution(* eshop.pojo.EShopApp->*(..))">
       <interceptor class="eshop.aop.TraceInterceptor"/>
       </bind>
      </aop>
      


      example of code change within any method of the class EShopApp:
      int a = 0;
      


      May be some kind of refresh-bug?