title: aspectj cross-thread pointcut
body: <p>I am new with AspectJ annotation for Java, and I am wondering if it is possible to put pointcut on a cross thread invocation.</p>
  
  <p>Here is the code:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class App {
      public static void main( String[] args ) {
          new Connector().getStart("testtest");
      }
  }
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code>public class Connector {
      public void getStart(String s1) {
          Handler h = new Handler(s1);
          h.start();
      }
  }
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code>public class Handler extends Thread {
      String s1;
  
      public Handler(String s1) {
          this.s1 = s1;
      }
  
      public void run() {
          new Plain().getValue(s1);   
      }
  }
  </code></pre>
  
  <pre class="lang-java prettyprint-override"><code>public class Plain {
      public void getValue(String s1) {
          System.out.println("Plain getValue: " + s1);
      }
  }
  </code></pre>
  
  <p>I would like to have a pointcut that only triggers when <code>Plain.getValue()</code> is called by <code>Connector.getStart()</code>.</p>
  
  <p>Is it possible? Thanks.</p>