Interface ListenerInvoker
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ListenerInvokerResponsible for invoking event listener methods without reflection. An implementation is automatically generated for every event listener method when registered.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvoke(Event event)Invokes the event listener method.
-
-
-
Method Detail
-
invoke
void invoke(Event event)
Invokes the event listener method.- Parameters:
event- The event the listener method should be invoked with. Passing an event with the wrong type will result in an exception
-
-