Class ReflectiveMethodHandler
java.lang.Object
com.predic8.membrane.core.lang.spel.functions.ReflectiveMethodHandler
-
Constructor Summary
ConstructorsConstructorDescriptionReflectiveMethodHandler(Class<?> clazz) Initializes the ReflectiveMethodHandler with all public methods from the given class. -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.expression.TypedValueinvokeFunction(org.springframework.expression.EvaluationContext ctx, String func, List<org.springframework.core.convert.TypeDescriptor> types, Object... args) Calls a previously stored method.
-
Constructor Details
-
ReflectiveMethodHandler
Initializes the ReflectiveMethodHandler with all public methods from the given class.
-
-
Method Details
-
invokeFunction
public org.springframework.expression.TypedValue invokeFunction(org.springframework.expression.EvaluationContext ctx, String func, List<org.springframework.core.convert.TypeDescriptor> types, Object... args) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException Calls a previously stored method.
-