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
Modifier and TypeMethodDescriptioncreateResultEvent(Object source, Object resultObject, RequestContext context) Create an event instance from the result object.
-
Method Details
-
createResultEvent
Create an event instance from the result object.- Parameters:
source- the source of the eventresultObject- the result object, typically the return value of a bean methodcontext- a flow execution request context- Returns:
- the event
-