Interface EventProcessor

  • All Known Implementing Classes:
    BSFEventProcessor, BSFEventProcessorReturningEventInfos

    public interface EventProcessor
    EventProcessor is the interface that event adapters use to delegate events they received to be delivered to the appropriate target. They can simply deliver the event using processEvent or, if the event can be excepted to, via processExceptionableEvent (in which case the adapter is expected to forward on an exception to the source bean).
    Author:
    Sanjiva Weerawarana, Matthew J. Duftler
    See Also:
    EventAdapter
    • Method Detail

      • processEvent

        void processEvent​(java.lang.String filter,
                          java.lang.Object[] eventInfo)
      • processExceptionableEvent

        void processExceptionableEvent​(java.lang.String filter,
                                       java.lang.Object[] eventInfo)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception