|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.action.ResultEventFactorySelector
public class ResultEventFactorySelector
Helper that selects the ResultEventFactory
to use for a particular result object.
EvaluateAction
,
BeanInvokingActionFactory
Constructor Summary | |
---|---|
ResultEventFactorySelector()
|
Method Summary | |
---|---|
ResultEventFactory |
forMethod(java.lang.reflect.Method method)
Select the appropriate result event factory for attempts to invoke the given method. |
ResultEventFactory |
forResult(java.lang.Object result)
Select the appropriate result event factory for the given result. |
protected ResultEventFactory |
forType(java.lang.Class resultType)
Select the appropriate result event factory for given result type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultEventFactorySelector()
Method Detail |
---|
public ResultEventFactory forMethod(java.lang.reflect.Method method)
method
- the method
public ResultEventFactory forResult(java.lang.Object result)
result
- the result
protected ResultEventFactory forType(java.lang.Class resultType)
ResultObjectBasedEventFactory
if the type is
mapped
by that result event factory, otherwise
SuccessEventFactory
is returned.
resultType
- the result type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |