AnnotationEventListenerResolver.getEventListeners

Returns a new collection of {@link EventListener} instances, each instance corresponding to an annotated method discovered on the specified {@code instance} argument.

@param instance the instance to inspect for annotated event handler methods. @return a new collection of {@link EventListener} instances, each instance corresponding to an annotated method discovered on the specified {@code instance} argument.

class AnnotationEventListenerResolver
getEventListeners
(
Object instance
)

Meta