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()
EventRoutingSelector
getEventClass
in interface EventRoutingSelector
public Collection<Subscription> getSubscriptions(Object event, Collection<Subscription> subscriptions)
EventRoutingSelector
getSubscriptions
in interface EventRoutingSelector
event
- instance of eventsubscriptions
- original list of subscriptionsCopyright © 2004–2019 "Tigase, Inc.". All rights reserved.