Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.webflow.action
Class SuccessEventFactory

    java.lang.Object
      org.springframework.webflow.action.EventFactorySupport
          org.springframework.webflow.action.SuccessEventFactory

All Implemented Interfaces:
  ResultEventFactory

    public class SuccessEventFactory

extends EventFactorySupport
implements ResultEventFactory

Default implementation of the resultObject-to-event mapping interface. Always returns the "success" event.

Author:
  Keith Donald

Constructor Summary
`SuccessEventFactory()`

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

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SuccessEventFactory

    public SuccessEventFactory()

Method Detail

### createResultEvent

    public Event createResultEvent(java.lang.Object source,
                                   java.lang.Object resultObject,
                                   RequestContext context)

  Description copied from interface: `ResultEventFactory`
  Create an event instance from the result object.

  Specified by:
    `createResultEvent` in interface `ResultEventFactory`
  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

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Web Flow
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD