Example #1
0
 /**
  * 执行service线程
  *
  * @param delegate
  * @param arg
  */
 public void invokeServiceDelegate(String delegate, Object... arguments) {
   try {
     ServiceThread t = new ServiceThread(this, this);
     t.setDelegate(delegate);
     t.setArgs(arguments);
     t.start();
   } catch (Exception ex) {
     throw new RuntimeException("Invoke service error, delegate: " + delegate, ex);
   }
 }