Spring Web Flow

org.springframework.webflow.action
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 Summary
 Event createResultEvent(java.lang.Object source, java.lang.Object resultObject, RequestContext context)
          Create an event instance from the result object.
 

Method Detail

createResultEvent

Event createResultEvent(java.lang.Object source,
                        java.lang.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

Spring Web Flow