Inherited by org.qscript.eventsonfire.AbstractEventHandlerInfo.
Public Member Functions | |
boolean | invoke (Object producer, Object consumer, Object event, String...tags) |
Holds information about an event handler method.
boolean org.qscript.eventsonfire.EventHandlerInfo.invoke | ( | Object | producer, |
Object | consumer, | ||
Object | event, | ||
String... | tags | ||
) |
Invokes the method referenced by this information object if applicable for the type of producer, consumer and event. If an error occurs when invoking the method, the invocationFailed method of the ErrorHandler is called.
producer | the producer, mandatory |
consumer | the consumer, mandatory |
event | the event, mandatory |
tags | the tags |
Implemented in org.qscript.eventsonfire.AbstractEventHandlerInfo.