org.axonframework.eventhandling.annotation.EventHandler.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(5.2k)|赞(0)|评价(0)|浏览(139)

本文整理了Java中org.axonframework.eventhandling.annotation.EventHandler.<init>()方法的一些代码示例,展示了EventHandler.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。EventHandler.<init>()方法的具体详情如下:
包路径:org.axonframework.eventhandling.annotation.EventHandler
类名称:EventHandler
方法名:<init>

EventHandler.<init>介绍

暂无

代码示例

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(DocumentTemplate.IconUiEvent ev) {
    if(ev.getIconName() != null) {
      return;
    }
    ev.setIconName("");
  }
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
  @Subscribe
  public void on(Document.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(Paperclip.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
  @Subscribe
  public void on(Paperclip.IconUiEvent ev) {
    if(ev.getIconName() != null) {
      return;
    }
    ev.setIconName("");
  }
}

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(DocumentType.IconUiEvent ev) {
    if(ev.getIconName() != null) {
      return;
    }
    ev.setIconName("");
  }
}

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(DocumentType.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(Paperclip.IconUiEvent ev) {
    if(ev.getIconName() != null) {
      return;
    }
    ev.setIconName("");
  }
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
  @Subscribe
  public void on(DocumentType.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
  @Subscribe
  public void on(DocumentTemplate.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
  @Subscribe
  public void on(Paperclip.CssClassUiEvent ev) {
    if(ev.getCssClass() != null) {
      return;
    }
    ev.setCssClass("");
  }
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
@Subscribe
public void on(DocumentTemplate.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final DocumentTemplate template) {

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
@Subscribe
public void on(RenderingStrategy.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final RenderingStrategy renderingStrategy) {

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
@Subscribe
public void on(Applicability.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  final Applicability applicability = ev.getSource();
  ev.setTranslatableTitle(translatableTitleOf(applicability));
}

代码示例来源:origin: org.incode.module.document/incode-module-document-dom

@EventHandler
@Subscribe
public void on(DocumentType.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final DocumentType documentType) {

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
@Subscribe
public void on(Document.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final Document document) {

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
@Subscribe
public void on(DocumentTemplate.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final DocumentTemplate template) {

代码示例来源:origin: org.incode.example.document/incode-example-document-dom

@EventHandler
@Subscribe
public void on(RenderingStrategy.TitleUiEvent ev) {
  if(ev.getTitle() != null) {
    return;
  }
  ev.setTranslatableTitle(titleOf(ev.getSource()));
}
private TranslatableString titleOf(final RenderingStrategy renderingStrategy) {

代码示例来源:origin: zscott/MultiBitExchange

@EventHandler
public void handle(CurrencyPairRemovedEvent event) {
 String exchangeId = event.getExchangeId().getIdentifier();
 String tickerSymbol = event.getCurrencyPairId().getIdentifier();
 repository.deleteByExchangeAndTicker(exchangeId, tickerSymbol);
}

代码示例来源:origin: zscott/MultiBitExchange

@EventHandler
private void handle(LimitOrderAddedToNewPriceLevelEvent event) {
 LimitOrder order = event.getOrder();
 ItemPrice newPriceLevel = event.getPriceLevel();
 getBook(order.getSide()).limitOrderAddedToNewPriceLevel(newPriceLevel, order);
}

代码示例来源:origin: zscott/MultiBitExchange

@EventHandler
public void handle(LimitOrderAddedToExistingPriceLevelEvent event) {
 String exchangeId = event.getExchangeId().getIdentifier();
 String tickerSymbol = event.getOrder().getTicker().getSymbol();
 QuoteReadModel readModel = repository.findByExchangeAndTicker(exchangeId, tickerSymbol);
 readModel.getBook(event.getOrder().getSide());
}

相关文章

EventHandler类方法