Inherits org.qscript.eventsonfire.EventHandlerStrategy.
Inherited by org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.
Public Member Functions | |
void | scan (Collection< EventHandlerInfo > infos, Class<?> type) |
Protected Member Functions | |
abstract EventHandlerInfo | createEventHandlerInfo (Method method) |
An abstract implementation of an EventHandlerStrategy that scans a class for possible event handlers
|
protectedpure virtual |
Creates an EventHandlerInfo if the method is capable of handling events.
method | the method |
Implemented in org.qscript.eventsonfire.AbstractAnnotatedEventHandlerStrategy< ANNOTATION_TYPE extends Annotation >.
void org.qscript.eventsonfire.AbstractEventHandlerStrategy.scan | ( | Collection< EventHandlerInfo > | infos, |
Class<?> | type | ||
) |
Scans the specified class for methods, that are capable of handling events and adds EventHandlerInfos for each method for the specified collection
infos | the collection of infos |
type | the class |
Implements org.qscript.eventsonfire.EventHandlerStrategy.