title: Newbie working with AspectJ: Can't get aspect called
body: <p>So, I've started looking into using AspectJ to handle processing events when the state of an object in my domain changes.</p>
  
  <p>Effectively, I'd like to write advice that wraps all of the setter methods in my domain. When the advice is called, it'll check the initial value of the field being set, run the setter, then check the value after the setter executes. If the value changes, it'll fire an event to an event listener, informing of the change.</p>
  
  <p>I used the tutorial found here: <a href="http://www.andrewewhite.net/wordpress/2010/03/17/aspectj-annotation-tutorial/" rel="nofollow">http://www.andrewewhite.net/wordpress/2010/03/17/aspectj-annotation-tutorial/</a>, but I'm unable to get any advice calls to be made. Notice that I'm only using the LTW method for weaving my advice, I'm not writing advice using the AspectJ language and precompiling it.</p>
  
  <p>My aop.xml (in the META-INF for my test suite) looks like this:</p>
  
  <pre>&lt;aspectj>
      &lt;aspects>
          &lt;aspect name="domain.aop.TestAspect"/>
      &lt;/aspects>
  &lt;/aspectj>
  </pre>
  
  <p>The Aspect class that I've created looks like this:</p>
  
  <pre>package domain.aop;
  
  import org.aspectj.lang.JoinPoint;
  import org.aspectj.lang.annotation.Aspect;
  import org.aspectj.lang.annotation.Before;
  
  @Aspect
  public class TestAspect
  {
      @Around("call(* domain.*.set*(..))")
      public void aroundSetMethods (JoinPoint jp)
      {
          System.out.println ("aroundSetMethod called");
      }
  }
  </pre>
  
  <p>When I run my test case, I can see (by setting a breakpoint) that a method (domain.Error.setTask ()) gets called. It is my belief that this should trigger my advice, but I never get into the advice method.</p>
  
  <p>Any pointers to what I'm doing wrong here?</p>
  
  <p>Thanks</p>