Interface ResultEventFactory

All Known Implementing Classes:
ResultObjectBasedEventFactory, SuccessEventFactory

public interface ResultEventFactory
A strategy for creating an Event object from an arbitrary object such as an expression evaluation result or bean method return value.
Author:
Keith Donald
  • Method Details

    • createResultEvent

      Event createResultEvent(Object source, Object resultObject, RequestContext context)
      Create an event instance from the result object.
      Parameters:
      source - the source of the event
      resultObject - the result object, typically the return value of a bean method
      context - a flow execution request context
      Returns:
      the event