Class ResultEventFactorySelector
java.lang.Object
org.springframework.webflow.action.ResultEventFactorySelector
Helper that selects the
ResultEventFactory to use for a particular result object.- Author:
- Keith Donald
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSelect the appropriate result event factory for attempts to invoke the given method.Select the appropriate result event factory for the given result.protected ResultEventFactorySelect the appropriate result event factory for given result type.
-
Constructor Details
-
ResultEventFactorySelector
public ResultEventFactorySelector()
-
-
Method Details
-
forMethod
Select the appropriate result event factory for attempts to invoke the given method.- Parameters:
method- the method- Returns:
- the result event factory
-
forResult
Select the appropriate result event factory for the given result.- Parameters:
result- the result- Returns:
- the result event factory
-
forType
Select the appropriate result event factory for given result type. This implementation returnsResultObjectBasedEventFactoryif the type ismappedby that result event factory, otherwiseSuccessEventFactoryis returned.- Parameters:
resultType- the result type- Returns:
- the result event factory
-