public void run() {
      try {
        Thread.sleep(2000);
      } catch (InterruptedException e) {
      }

      TestBean2 out = new TestBean2();
      out.setFirst(bean1.getFirst());
      out.setSecond(bean1.getSecond());
      out.setThird(bean1.getThird());
      out.setFourth(bean1.getFourth());
      out.setFifth(bean1.getFifth());
      out.setSixth(bean1.getSixth());
      out.setSeventh(bean1.getSeventh());
      out.setEight(bean1.getEight());
      out.setNinth(bean1.getNinth());

      response.setData(out);
      response.completed();
    }
示例#2
0
 public void completed() {
   response.completed();
 }