Class ReflectEventRoutingSelectorFactory

java.lang.Object
tigase.eventbus.impl.ReflectEventRoutingSelectorFactory

public class ReflectEventRoutingSelectorFactory extends Object
Class responsible for generation of EventRoutingSelectors based on methods of consumer class annotated with @RouteEvent
Author:
andrzej
  • Constructor Details

    • ReflectEventRoutingSelectorFactory

      public ReflectEventRoutingSelectorFactory()
  • Method Details

    • create

      public Collection<EventRoutingSelector> create(Object consumer)
      Method looks for methods of consumer class and returns list of EventRoutingSelectors created based on methods annotated with @RouteEvent