interface SubscriberFindingStrategy
EventBus
.Modifier and Type | Method and Description |
---|---|
Multimap<java.lang.Class<?>,EventSubscriber> |
findAllSubscribers(java.lang.Object source)
Finds all suitable event subscriber methods in
source , organizes them
by the type of event they handle, and wraps them in EventSubscriber instances. |
Multimap<java.lang.Class<?>,EventSubscriber> findAllSubscribers(java.lang.Object source)
source
, organizes them
by the type of event they handle, and wraps them in EventSubscriber
instances.source
- object whose subscribers are desired.java.lang.IllegalArgumentException
- if source
is not appropriate for
this strategy (in ways that this interface does not define).