Class Invocation.CompatibleInvocation

java.lang.Object
com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation
All Implemented Interfaces:
Invocation, org.apache.dubbo.rpc.Invocation
Enclosing interface:
Invocation

public static class Invocation.CompatibleInvocation extends Object implements Invocation
  • Constructor Details

    • CompatibleInvocation

      public CompatibleInvocation(org.apache.dubbo.rpc.Invocation invocation)
  • Method Details

    • getTargetServiceUniqueName

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

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

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

      public String getServiceName()
      Specified by:
      getServiceName in interface Invocation
      Specified by:
      getServiceName in interface org.apache.dubbo.rpc.Invocation
    • getParameterTypes

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

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

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

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

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

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

      public void setServiceModel(org.apache.dubbo.rpc.model.ServiceModel serviceModel)
      Specified by:
      setServiceModel in interface Invocation
      Specified by:
      setServiceModel in interface org.apache.dubbo.rpc.Invocation
    • getServiceModel

      public org.apache.dubbo.rpc.model.ServiceModel getServiceModel()
      Specified by:
      getServiceModel in interface Invocation
      Specified by:
      getServiceModel in interface org.apache.dubbo.rpc.Invocation
    • put

      public Object put(Object key, Object value)
      Specified by:
      put in interface Invocation
      Specified by:
      put in interface org.apache.dubbo.rpc.Invocation
    • get

      public Object get(Object key)
      Specified by:
      get in interface Invocation
      Specified by:
      get in interface org.apache.dubbo.rpc.Invocation
    • getAttributes

      public Map<Object,Object> getAttributes()
      Specified by:
      getAttributes in interface Invocation
      Specified by:
      getAttributes in interface org.apache.dubbo.rpc.Invocation
    • getOriginal

      public org.apache.dubbo.rpc.Invocation getOriginal()
      Specified by:
      getOriginal in interface Invocation
    • addInvokedInvoker

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

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