Package tigase.eventbus
Interface EventRoutingSelector
-
- All Known Implementing Classes:
ReflectEventRoutingSelector
public interface EventRoutingSelectorThis interface is required to be implemented by every class which wants to change routing of delivering events to other machines.- Author:
- andrzej
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassgetEventClass()Returns class of event for which it modifies deliveryCollection<Subscription>getSubscriptions(Object event, Collection<Subscription> subscriptions)Method responsible for actual modification of delivery by adding and removing items to Subscriptions collection
-
-
-
Method Detail
-
getEventClass
Class getEventClass()
Returns class of event for which it modifies delivery
-
getSubscriptions
Collection<Subscription> getSubscriptions(Object event, Collection<Subscription> subscriptions)
Method responsible for actual modification of delivery by adding and removing items to Subscriptions collection- Parameters:
event- instance of eventsubscriptions- original list of subscriptions
-
-