Inherited by org.qscript.eventsonfire.AbstractEventHandlerStrategy.
Public Member Functions | |
void | scan (Collection< EventHandlerInfo > infos, Class<?> type) |
A strategy for resolving event handlers from classes. Usually this implementation decides, which methods of a class are event handlers.
void org.qscript.eventsonfire.EventHandlerStrategy.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 |
Implemented in org.qscript.eventsonfire.AbstractEventHandlerStrategy.