Class SuccessEventFactory
java.lang.Object
org.springframework.webflow.action.EventFactorySupport
org.springframework.webflow.action.SuccessEventFactory
- All Implemented Interfaces:
ResultEventFactory
Default implementation of the resultObject-to-event mapping interface. Always returns the "success" event.
- Author:
- Keith Donald
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateResultEvent
(Object source, Object resultObject, RequestContext context) Create an event instance from the result object.Methods inherited from class org.springframework.webflow.action.EventFactorySupport
error, error, event, event, event, event, getErrorEventId, getExceptionAttributeName, getNoEventId, getNullEventId, getResultAttributeName, getSuccessEventId, getYesEventId, no, setErrorEventId, setExceptionAttributeName, setNoEventId, setNullEventId, setResultAttributeName, setSuccessEventId, setYesEventId, success, success, yes
-
Constructor Details
-
SuccessEventFactory
public SuccessEventFactory()
-
-
Method Details
-
createResultEvent
Description copied from interface:ResultEventFactory
Create an event instance from the result object.- Specified by:
createResultEvent
in interfaceResultEventFactory
- 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
-