An
EventListenerResolver knows how to resolve (either create or lookup)
EventListener instances
as a result of inspecting a subscriber object, mostly likely a
org.apache.shiro.event.Subscribe-annotated object instance.
This interface exists primarily as a support concept for the
DefaultEventBus implementation. Custom
implementations of this interface can be configured on a
DefaultEventBus instance to determine exactly
how a subscriber receives events.
For example, the
AnnotationEventListenerResolver will inspect a runtime
object for
org.apache.shiro.event.Subscribe-annotated methods, and for each method found, return
an
EventListener instance representing the method to invoke.