Interface N2oEventListener<E extends N2oEvent>

  • All Superinterfaces:
    org.springframework.context.ApplicationListener<E>, java.util.EventListener
    All Known Implementing Classes:
    MetadataChangeListener
    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 N2oEventListener<E extends N2oEvent>
    extends org.springframework.context.ApplicationListener<E>
    Слушатель событий с определением применимости события к слушателю
    • Method Detail

      • onApplicationEvent

        default void onApplicationEvent​(E event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<E extends N2oEvent>
      • handleEvent

        void handleEvent​(E event)
      • isApply

        default boolean isApply​(E event)