Interface MethodReturnTranslatorContext<R,T>
public interface MethodReturnTranslatorContext<R,T>
Context for the
MethodReturnTranslator.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains theManagedFunctionContext.Obtains the return value from theMethod.voidsetTranslatedReturnValue(T value) Specifies the translated return value.
-
Method Details
-
getReturnValue
R getReturnValue()Obtains the return value from theMethod.- Returns:
- Return value from the
Method.
-
setTranslatedReturnValue
Specifies the translated return value.- Parameters:
value- Translated return value.- Throws:
Exception- If fails to set the translated return value.
-
getManagedFunctionContext
ManagedFunctionContext<?,?> getManagedFunctionContext()Obtains theManagedFunctionContext.- Returns:
ManagedFunctionContext.
-