title: Spring AOP - Pointcuts not triggering
body: <p>I am just getting started with Spring AOP in my project and am having some problems with getting Spring AOP working correctly.</p>
  
  <p>I have two objects, TransportImpl and SesssionImpl that I would like to profile via AOP.  Both objects(beans) are initialised via Spring.  Both beans are implementations of business
  interfaces (Transport and Session).  I can get Aspects applied to the TransportImpl bean to work well, but those applied to the SessionImpl just do not fire.  I can confirm that the
  "mySessionMonitor" Aspect is initialised by Spring, and that the SessionImpl object is also initialised without any exceptions or errors.</p>
  
  <p>I have stripped down my PointCuts and Aspect to the most basic form possible.  I would have expected the PointCut <em>sessionOperation</em> described below 
  to fire when the SessionImpl bean is initialised and the init-method initialise is called.  But this never happens.  What might be going wrong here?  </p>
  
  <p>From the configuration file:</p>
  
  <pre><code>&lt;bean id="MyTransport" class="my.app.transport.TransportImpl"   scope="singleton" /&gt;                
  &lt;bean id="MySession" class="my.app.session.SessionImpl" init-method="initialise" scope="singleton" /&gt;
  
  &lt;aop:aspectj-autoproxy proxy-target-class="true"&gt;
      &lt;aop:include name="myTransportMonitor" /&gt;
      &lt;aop:include name="mySessionMonitor" /&gt;
  &lt;/aop:aspectj-autoproxy&gt;
  
  &lt;bean id="myTransportMonitor" class="my.app.aspects.TransportMonitoringAspect"/&gt;
  &lt;bean id="mySessionMonitor"   class="my.app.aspects.SessionMonitoringAspect" /&gt;
  </code></pre>
  
  <p>Aspect code</p>
  
  <pre><code>// Aspect monitoring code
  @Aspect
  public class SessionMonitoringAspect
  {
      private Logger fileLogger = Logger.getLogger("myLogger");
  
      public void initialise()
      {
          fileLogger.info("Initialising SessionMonitoringAspect");
      }
  
      @Pointcut ("execution (public * *(..))")
      private void anyPublicOperation(){}
  
      @Pointcut ("within(my.app.session..*)")
      private void inSession(){}
  
      @Pointcut("anyPublicOperation() &amp;&amp; inSession()")
      private void sessionOperation(){}
  
      @Before("sessionOperation()")
      public void sessionOperationDetected(JoinPoint jp)
      {
          fileLogger.info("Session operation detected - signature: " + jp.getSignature());
      }
  }
  </code></pre>