接口 com.jdon.domain.message.DomainEventHandler
的使用

使用 DomainEventHandler 的软件包
com.jdon.async.disruptor   
com.jdon.domain.message   
 

com.jdon.async.disruptorDomainEventHandler 的使用
 

类型参数类型为 DomainEventHandlercom.jdon.async.disruptor 中的字段
protected  Map<String,TreeSet<DomainEventHandler>> DisruptorFactory.handlesMap
           
 

返回变量类型为 DomainEventHandler 的类型的 com.jdon.async.disruptor 中的方法
 TreeSet<DomainEventHandler> DisruptorFactory.getTreeSet()
           
protected  TreeSet<DomainEventHandler> DisruptorFactory.loadEvenHandler(String topic)
          if there are many consumers, execution order will be alphabetical list by Name of @Consumer class.
protected  TreeSet<DomainEventHandler> DisruptorFactory.loadOnEventConsumers(String topic, TreeSet<DomainEventHandler> ehs)
           
 

类型变量类型为 DomainEventHandlercom.jdon.async.disruptor 中的方法参数
 com.lmax.disruptor.dsl.Disruptor DisruptorFactory.addEventMessageHandler(String topic, TreeSet<DomainEventHandler> handlers)
           
protected  TreeSet<DomainEventHandler> DisruptorFactory.loadOnEventConsumers(String topic, TreeSet<DomainEventHandler> ehs)
           
 

参数类型为 DomainEventHandlercom.jdon.async.disruptor 中的构造方法
DomainEventHandlerAdapter(DomainEventHandler handler)
           
 

com.jdon.domain.messageDomainEventHandler 的使用
 

实现 DomainEventHandlercom.jdon.domain.message 中的类
 class DomainEventDispatchHandler
          action by annotation "@onEvent("topicName")"
 



Copyright © 2013. All Rights Reserved.