Class InvocationResult
- java.lang.Object
-
- org.springframework.amqp.rabbit.listener.adapter.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getBean()
java.lang.reflect.Method
getMethod()
java.lang.reflect.Type
getReturnType()
java.lang.Object
getReturnValue()
Expression
getSendTo()
java.lang.String
toString()
-
-
-
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()
-
getSendTo
public Expression getSendTo()
-
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 classjava.lang.Object
-
-