Class RpcInvocation

java.lang.Object
com.alibaba.dubbo.rpc.RpcInvocation
All Implemented Interfaces:
Invocation, Serializable, org.apache.dubbo.rpc.Invocation

@Deprecated public class RpcInvocation extends Object implements Invocation, Serializable
Deprecated.
See Also:
  • Constructor Details

    • RpcInvocation

      public RpcInvocation()
      Deprecated.
    • RpcInvocation

      public RpcInvocation(Invocation invocation, Invoker<?> invoker)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(Invocation invocation)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(Method method, Object[] arguments)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(Method method, Object[] arguments, Map<String,String> attachment)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(String methodName, Class<?>[] parameterTypes, Object[] arguments)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(String methodName, Class<?>[] parameterTypes, Object[] arguments, Map<String,String> attachments)
      Deprecated.
    • RpcInvocation

      public RpcInvocation(String methodName, Class<?>[] parameterTypes, Object[] arguments, Map<String,String> attachments, Invoker<?> invoker)
      Deprecated.
  • Method Details

    • getInvoker

      public Invoker<?> getInvoker()
      Deprecated.
      Specified by:
      getInvoker in interface Invocation
      Specified by:
      getInvoker in interface org.apache.dubbo.rpc.Invocation
    • setInvoker

      public void setInvoker(Invoker<?> invoker)
      Deprecated.
    • getProtocolServiceKey

      public String getProtocolServiceKey()
      Deprecated.
      Specified by:
      getProtocolServiceKey in interface org.apache.dubbo.rpc.Invocation
    • getMethodName

      public String getMethodName()
      Deprecated.
      Specified by:
      getMethodName in interface org.apache.dubbo.rpc.Invocation
    • setMethodName

      public void setMethodName(String methodName)
      Deprecated.
    • getParameterTypes

      public Class<?>[] getParameterTypes()
      Deprecated.
      Specified by:
      getParameterTypes in interface org.apache.dubbo.rpc.Invocation
    • setParameterTypes

      public void setParameterTypes(Class<?>[] parameterTypes)
      Deprecated.
    • getArguments

      public Object[] getArguments()
      Deprecated.
      Specified by:
      getArguments in interface org.apache.dubbo.rpc.Invocation
    • setArguments

      public void setArguments(Object[] arguments)
      Deprecated.
    • getAttachments

      public Map<String,String> getAttachments()
      Deprecated.
      Specified by:
      getAttachments in interface org.apache.dubbo.rpc.Invocation
    • setAttachments

      public void setAttachments(Map<String,String> attachments)
      Deprecated.
    • setAttachment

      public void setAttachment(String key, String value)
      Deprecated.
      Specified by:
      setAttachment in interface Invocation
      Specified by:
      setAttachment in interface org.apache.dubbo.rpc.Invocation
    • setAttachmentIfAbsent

      public void setAttachmentIfAbsent(String key, String value)
      Deprecated.
      Specified by:
      setAttachmentIfAbsent in interface Invocation
      Specified by:
      setAttachmentIfAbsent in interface org.apache.dubbo.rpc.Invocation
    • addAttachments

      public void addAttachments(Map<String,String> attachments)
      Deprecated.
    • addAttachmentsIfAbsent

      public void addAttachmentsIfAbsent(Map<String,String> attachments)
      Deprecated.
    • getAttachment

      public String getAttachment(String key)
      Deprecated.
      Specified by:
      getAttachment in interface org.apache.dubbo.rpc.Invocation
    • getAttachment

      public String getAttachment(String key, String defaultValue)
      Deprecated.
      Specified by:
      getAttachment in interface Invocation
      Specified by:
      getAttachment in interface org.apache.dubbo.rpc.Invocation
    • addInvokedInvoker

      public void addInvokedInvoker(org.apache.dubbo.rpc.Invoker<?> invoker)
      Deprecated.
      Specified by:
      addInvokedInvoker in interface org.apache.dubbo.rpc.Invocation
    • getInvokedInvokers

      public List<org.apache.dubbo.rpc.Invoker<?>> getInvokedInvokers()
      Deprecated.
      Specified by:
      getInvokedInvokers in interface org.apache.dubbo.rpc.Invocation
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object