Beispiel #1
0
  public ApplicationAsset(ApplicationDescriptor desc) {
    //
    Map<String, ControllerMethod> table = new HashMap<String, ControllerMethod>();
    for (ControllerMethod cm : desc.getControllerMethods()) {
      Ajax ajax = cm.getMethod().getAnnotation(Ajax.class);
      if (ajax != null) {
        table.put(cm.getName(), cm);
      }
    }

    //
    this.desc = desc;
    this.table = table;
  }