Package tigase.eventbus.impl

# 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 Summary

  Constructors
  Constructor
  Description
  `ReflectEventRoutingSelectorFactory()`

- ## Method Summary

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

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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`