title: Spring AOP not working on all annotation methods
body: <p>I have created a custom annotation in my spring mvc project.
  The annotation is used to do an AOP </p>
  
  <pre><code>@Around("execution(@Cached * * (..)) &amp;&amp; @annotation(cache)")
  </code></pre>
  
  <p>Here the annotation that I have created is "Cached", any method with the annotation is cached in couch base with the response as its value and the method argument as its key.</p>
  
  <p>The problem is the annotation works (AOP works) on the controllers well. However from controllers, I am making call to different callable classes and utils. When I add the annotation" @Cached" on the callable classes or the util funcations the AOP doesn't work.</p>
  
  <p>In the XML file, the following is what I have declared.</p>
  
  <pre><code>&lt;aop:aspectj-autoproxy/&gt;
  &lt;context:spring-configured/&gt;
  &lt;context:component-scan base-package="com.abc.xyz"&gt;
      &lt;!--&lt;context:include-filter type="annotation" expression="org.aspectj.lang.annotation.Aspect"/&gt;--&gt;
  &lt;/context:component-scan&gt;
  
  
  &lt;bean id="universalController" class="com.abc.xyz.misc.UniversalController"/&gt;
  &lt;bean class="com.abc.xyz.api.metric.SystemTiming"/&gt;
  &lt;bean class="com.abc.xyz.api.annotations.URLCacheImpl"/&gt;
  </code></pre>