QScript  2.1.2
Expression and algorithm evaluator
 All Classes Namespaces Functions Variables Pages
Public Member Functions | List of all members
org.qscript.eventsonfire.EventHandlerStrategy Interface Reference

Inherited by org.qscript.eventsonfire.AbstractEventHandlerStrategy.

Public Member Functions

void scan (Collection< EventHandlerInfo > infos, Class<?> type)
 

Detailed Description

A strategy for resolving event handlers from classes. Usually this implementation decides, which methods of a class are event handlers.

Author
Manfred HANTSCHEL

Member Function Documentation

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

Parameters
infosthe collection of infos
typethe class

Implemented in org.qscript.eventsonfire.AbstractEventHandlerStrategy.


The documentation for this interface was generated from the following file: