public class SuccessEventFactory extends EventFactorySupport implements ResultEventFactory
Constructor and Description |
---|
SuccessEventFactory() |
Modifier and Type | Method and Description |
---|---|
Event |
createResultEvent(Object source,
Object resultObject,
RequestContext context)
Create an event instance from the result object.
|
error, error, event, event, event, event, getErrorEventId, getExceptionAttributeName, getNoEventId, getNullEventId, getResultAttributeName, getSuccessEventId, getYesEventId, no, setErrorEventId, setExceptionAttributeName, setNoEventId, setNullEventId, setResultAttributeName, setSuccessEventId, setYesEventId, success, success, yes
public Event createResultEvent(Object source, Object resultObject, RequestContext context)
ResultEventFactory
createResultEvent
in interface ResultEventFactory
source
- the source of the eventresultObject
- the result object, typically the return value of a bean methodcontext
- a flow execution request context