Annotation Type EventListenerAdapter


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface EventListenerAdapter
    Annotation to mark the base abstract class of an event listener. If interface method is declared (i.e. implemented and not overridden in the inheritors) in a class marked with this annotation and registered in EventDispatcher instance, EventDispatcher.getMulticaster() multicaster will not call this method at all. This is done to speedup event multi-casting by skipping empty implementation in event adapter base classes.

    NOTE: Do not use it on your classes unless you need to skip declared methods call from EventDispatcher.getMulticaster()

    Since:
    5.1