title: getting started with aspectj without Spring AOP
body: <p>I'd like to incorporate AspectJ in my app to understand how it works. I
  d like not to use Spring AOP, but "pure" aspectj.</p>
  
  <p>Here's what I have:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.aspectj&lt;/groupId&gt;
    &lt;artifactId&gt;aspectjrt&lt;/artifactId&gt;
    &lt;version&gt;1.6.11&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>package tmp;
  
  import org.aspectj.lang.annotation.Aspect;
  import org.aspectj.lang.annotation.Before;
  import org.aspectj.lang.annotation.Pointcut;
  
  @Aspect
  public class LoggingAspect {
  
      @Pointcut("execution(* *.*(..))")
      void anyMethodCall() {
      }
  
      @Before("anyMethodCall()")
      public void beforeMethod() {
          System.out.println("Aspect Before Method");
      }
  }
  </code></pre>
  
  <p>When I execute my App, the message is not printed.</p>
  
  <p>The way I understand it, <code>beforeMethod</code> should be called before any method of any class in the entire project.</p>
  
  <p>I'm guessing I' forgetting something but I haven't found a good tutorial yet where it was clear to me how it works.</p>
  
  <p>Where do I go form here?</p>