public class ReflectEventRoutingSelector extends Object implements EventRoutingSelector
EventRoutingSelector used when this selector is created based on
annotated method of consumer class.| Constructor and Description |
|---|
ReflectEventRoutingSelector(Class eventClass,
Object consumer,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class |
getEventClass()
Returns class of event for which it modifies delivery
|
Collection<Subscription> |
getSubscriptions(Object event,
Collection<Subscription> subscriptions)
Method responsible for actual modification of delivery by adding and removing items to Subscriptions collection
|
int |
hashCode() |
public Class getEventClass()
EventRoutingSelectorgetEventClass in interface EventRoutingSelectorpublic Collection<Subscription> getSubscriptions(Object event, Collection<Subscription> subscriptions)
EventRoutingSelectorgetSubscriptions in interface EventRoutingSelectorevent - instance of eventsubscriptions - original list of subscriptionsCopyright © 2004–2021 "Tigase, Inc.". All rights reserved.