Class InvocationResult


  • public final class InvocationResult
    extends java.lang.Object
    The result of a listener method invocation.
    Since:
    2.1
    Author:
    Gary Russell
    • Constructor Summary

      Constructors 
      Constructor Description
      InvocationResult​(java.lang.Object result, Expression sendTo, java.lang.reflect.Type returnType, java.lang.Object bean, java.lang.reflect.Method method)
      Construct an instance with the provided properties.
    • Constructor Detail

      • InvocationResult

        public InvocationResult​(java.lang.Object result,
                                @Nullable
                                Expression sendTo,
                                @Nullable
                                java.lang.reflect.Type returnType,
                                @Nullable
                                java.lang.Object bean,
                                @Nullable
                                java.lang.reflect.Method method)
        Construct an instance with the provided properties.
        Parameters:
        result - the result.
        sendTo - the sendTo expression.
        returnType - the return type.
        bean - the bean.
        method - the method.
    • Method Detail

      • getReturnValue

        public java.lang.Object getReturnValue()
      • getReturnType

        @Nullable
        public java.lang.reflect.Type getReturnType()
      • getBean

        @Nullable
        public java.lang.Object getBean()
      • getMethod

        @Nullable
        public java.lang.reflect.Method getMethod()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object