Class SuccessEventFactory

java.lang.Object
org.springframework.webflow.action.EventFactorySupport
org.springframework.webflow.action.SuccessEventFactory
All Implemented Interfaces:
ResultEventFactory

public class SuccessEventFactory extends EventFactorySupport implements ResultEventFactory
Default implementation of the resultObject-to-event mapping interface. Always returns the "success" event.
Author:
Keith Donald
  • Constructor Details

    • SuccessEventFactory

      public SuccessEventFactory()
  • Method Details

    • createResultEvent

      public Event createResultEvent(Object source, Object resultObject, RequestContext context)
      Description copied from interface: ResultEventFactory
      Create an event instance from the result object.
      Specified by:
      createResultEvent in interface ResultEventFactory
      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