Class FunctionInvoker


  • public class FunctionInvoker
    extends Object
    • Constructor Detail

      • FunctionInvoker

        public FunctionInvoker​(String name,
                               Class<?> targetClass,
                               Method method)
    • Method Detail

      • getBindingContext

        public Map<String,​Object> getBindingContext()
        Allow storage of binding specific objects that are specific to the function. i.e. json marshallers
        Returns:
      • hasInput

        public boolean hasInput()
      • getInputType

        public Type getInputType()
      • getOutputType

        public Type getOutputType()
      • isAsync

        protected boolean isAsync()
      • setAsync

        protected void setAsync​(boolean async)
      • hasOutput

        public boolean hasOutput()
      • getName

        public String getName()
      • getTargetClass

        public Class<?> getTargetClass()
      • getMethod

        public Method getMethod()