Exemplo n.º 1
0
  /**
   * Registers all system annotations.
   *
   * @param serviceHandler the given {@link ServiceHandler}
   */
  private static void registerAnnotations(ServiceHandler serviceHandler) {

    // Đăng kí thông tin các annotation của core JGentle vào danh sách
    // annotation registered
    serviceHandler.registerAnnotations(RegisterAnnotationInjecting.class);
    // Đăng kí thông tin tất cả các annotation của AOP System vào danh sách
    // annotation registered.
    serviceHandler.registerAnnotations(RegisterAnnotationAOP.class);
    // Đăng kí thông tin tất cả các annotation của JGentle Context vào danh
    // sách annotation registered.
    serviceHandler.registerAnnotations(RegisterAnnotationContext.class);
  }