Interface SystemEventListener

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isListenerForSource​(Object source)
      This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.
      void processEvent​(SystemEvent event)
      When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
    • Method Detail

      • processEvent

        void processEvent​(SystemEvent event)
                   throws AbortProcessingException

        When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.

        Parameters:
        event - the SystemEvent instance that is being processed.
        Throws:
        AbortProcessingException - if lifecycle processing should cease for this request.
      • isListenerForSource

        boolean isListenerForSource​(Object source)

        This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.

        Parameters:
        source - the source that is inquiring about the appropriateness of sending an event to this listener instance.
        Returns:
        the value as specified above