Class AbstractSiteEventListener<T extends AbstractEvent>

    • Constructor Detail

      • AbstractSiteEventListener

        public AbstractSiteEventListener()
    • Method Detail

      • onSiteEvent

        protected abstract void onSiteEvent​(T event)
      • shouldHandleEvent

        protected abstract boolean shouldHandleEvent​(T event)
      • onEvent

        protected void onEvent​(T event)
        Description copied from class: AbstractEventListener
        This method is called by ApplicationListener.onApplicationEvent(ApplicationEvent) and processes the given event.
        Specified by:
        onEvent in class AbstractEventListener<T extends AbstractEvent>
        Parameters:
        event - the event to be processed
        See Also:
        ApplicationListener.onApplicationEvent(ApplicationEvent)