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, yespublic Event createResultEvent(Object source, Object resultObject, RequestContext context)
ResultEventFactorycreateResultEvent in interface ResultEventFactorysource - the source of the eventresultObject - the result object, typically the return value of a bean methodcontext - a flow execution request context