title: Returning a value from Runnable
body: <p>The <code>run</code> method of <code>Runnable</code> has return type <code>void</code> and cannot return a value. I wonder however if there is any workaround of this.</p>
  <p>I have a method like this:</p>
  <pre><code>public class Endpoint {
      public method() {
         Runnable runcls = new RunnableClass();
         runcls.run()
      }
  }
  </code></pre>
  <p>The method <code>run</code> is like this:</p>
  <pre><code>public class RunnableClass implements Runnable {
      
      public JaxbResponse response;
  
      public void run() {
          int id = inputProxy.input(chain);
          response = outputProxy.input();
      }
  }
  </code></pre>
  <p>I want to have access to <code>response</code> variable in <code>method</code>. Is this possible?</p>