public class ResultEventFactorySelector extends Object
ResultEventFactory
to use for a particular result object.EvaluateAction
Constructor and Description |
---|
ResultEventFactorySelector() |
Modifier and Type | Method and Description |
---|---|
ResultEventFactory |
forMethod(Method method)
Select the appropriate result event factory for attempts to invoke the given method.
|
ResultEventFactory |
forResult(Object result)
Select the appropriate result event factory for the given result.
|
public ResultEventFactory forMethod(Method method)
method
- the methodpublic ResultEventFactory forResult(Object result)
result
- the result