0 Replies Latest reply on Sep 20, 2005 2:58 PM by Michael Frieß

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

    Michael Frieß Newbie

      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 aspects applied (the methods are not intercepted, like it's a normal java application).

      However, I found out that if I change the code in a method which will be intercepted, the AOP-application runs as it should do (I think that you even have to change your code in ALL files that will be intercepted, but I did not test this thoroughly, sorry).

      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;
      


      Maybe some kind of refresh-bug?