Annotation Interface EventBusListenerMethod


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface EventBusListenerMethod
Annotation to be placed on event bus listener methods. A listener method must always conform to one of the following method signatures:
  1. myMethodName(Event<MyPayloadType>)
  2. myMethodName(MyPayloadType)
A listener method can have any visibility and any return type.
Author:
Petter Holmström (petter@vaadin.com)
See Also: