/** 服务委托者原型注册方法。 */
 public static final void registPrototype(AbstractGetOrderCountDelegate inPrototype) {
   if (inPrototype == null) {
     throw new RuntimeException("待注册的服务委托原型对象为空!");
   }
   if (prototype != null) {
     throw new RuntimeException(
         "服务委托原型对象已被注册,不可重复注册。已注册的原型:"
             + prototype.getClass().getName()
             + ";待注册的原型:"
             + inPrototype.getClass().getName());
   }
   prototype = inPrototype;
 }