public class RpcInvocation extends Object implements Invocation, Serializable
| Constructor and Description |
|---|
RpcInvocation() |
RpcInvocation(Invocation invocation) |
RpcInvocation(Invocation invocation,
Invoker<?> invoker) |
RpcInvocation(Method method,
String interfaceName,
String protocolServiceKey,
Object[] arguments)
Deprecated.
|
RpcInvocation(Method method,
String interfaceName,
String protocolServiceKey,
Object[] arguments,
Map<String,Object> attachment,
Map<Object,Object> attributes)
Deprecated.
|
RpcInvocation(ServiceModel serviceModel,
Method method,
String interfaceName,
String protocolServiceKey,
Object[] arguments) |
RpcInvocation(ServiceModel serviceModel,
Method method,
String interfaceName,
String protocolServiceKey,
Object[] arguments,
Map<String,Object> attachment,
Map<Object,Object> attributes) |
RpcInvocation(ServiceModel serviceModel,
String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments) |
RpcInvocation(ServiceModel serviceModel,
String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments) |
RpcInvocation(ServiceModel serviceModel,
String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments,
Invoker<?> invoker,
Map<Object,Object> attributes) |
RpcInvocation(String targetServiceUniqueName,
ServiceModel serviceModel,
String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments,
Invoker<?> invoker,
Map<Object,Object> attributes) |
RpcInvocation(String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments)
Deprecated.
|
RpcInvocation(String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments)
Deprecated.
|
RpcInvocation(String methodName,
String interfaceName,
String protocolServiceKey,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,Object> attachments,
Invoker<?> invoker,
Map<Object,Object> attributes)
Deprecated.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetModuleModelpublic RpcInvocation()
public RpcInvocation(Invocation invocation, Invoker<?> invoker)
public RpcInvocation(Invocation invocation)
public RpcInvocation(ServiceModel serviceModel, Method method, String interfaceName, String protocolServiceKey, Object[] arguments)
@Deprecated public RpcInvocation(Method method, String interfaceName, String protocolServiceKey, Object[] arguments)
public RpcInvocation(ServiceModel serviceModel, Method method, String interfaceName, String protocolServiceKey, Object[] arguments, Map<String,Object> attachment, Map<Object,Object> attributes)
@Deprecated public RpcInvocation(Method method, String interfaceName, String protocolServiceKey, Object[] arguments, Map<String,Object> attachment, Map<Object,Object> attributes)
public RpcInvocation(ServiceModel serviceModel, String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments)
@Deprecated public RpcInvocation(String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments)
public RpcInvocation(ServiceModel serviceModel, String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments, Map<String,Object> attachments)
@Deprecated public RpcInvocation(String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments, Map<String,Object> attachments)
@Deprecated public RpcInvocation(String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments, Map<String,Object> attachments, Invoker<?> invoker, Map<Object,Object> attributes)
public RpcInvocation(ServiceModel serviceModel, String methodName, String interfaceName, String protocolServiceKey, Class<?>[] parameterTypes, Object[] arguments, Map<String,Object> attachments, Invoker<?> invoker, Map<Object,Object> attributes)
public Invoker<?> getInvoker()
InvocationgetInvoker in interface Invocationpublic void setInvoker(Invoker<?> invoker)
public Object put(Object key, Object value)
put in interface Invocationpublic Object get(Object key)
get in interface Invocationpublic Map<Object,Object> getAttributes()
getAttributes in interface Invocationpublic String getTargetServiceUniqueName()
getTargetServiceUniqueName in interface Invocationpublic void setTargetServiceUniqueName(String targetServiceUniqueName)
public String getProtocolServiceKey()
getProtocolServiceKey in interface Invocationpublic String getMethodName()
InvocationgetMethodName in interface Invocationpublic void setMethodName(String methodName)
public String getServiceName()
InvocationgetServiceName in interface Invocationpublic void setServiceName(String interfaceName)
public Class<?>[] getParameterTypes()
InvocationgetParameterTypes in interface Invocationpublic void setParameterTypes(Class<?>[] parameterTypes)
public String getParameterTypesDesc()
public void setParameterTypesDesc(String parameterTypesDesc)
public String[] getCompatibleParamSignatures()
InvocationgetCompatibleParamSignatures in interface Invocationpublic void setCompatibleParamSignatures(String[] compatibleParamSignatures)
public Object[] getArguments()
InvocationgetArguments in interface Invocationpublic void setArguments(Object[] arguments)
public Map<String,Object> getObjectAttachments()
getObjectAttachments in interface Invocationpublic void setAttachment(String key, String value)
setAttachment in interface Invocation@Deprecated public Map<String,String> getAttachments()
InvocationgetAttachments in interface Invocation@Deprecated public void setAttachments(Map<String,String> attachments)
public void setAttachment(String key, Object value)
setAttachment in interface Invocationpublic void setObjectAttachment(String key, Object value)
setObjectAttachment in interface Invocationpublic void setAttachmentIfAbsent(String key, String value)
setAttachmentIfAbsent in interface Invocationpublic void setAttachmentIfAbsent(String key, Object value)
setAttachmentIfAbsent in interface Invocationpublic void setObjectAttachmentIfAbsent(String key, Object value)
setObjectAttachmentIfAbsent in interface Invocation@Deprecated public void addAttachments(Map<String,String> attachments)
@Deprecated public void addAttachmentsIfAbsent(Map<String,String> attachments)
public void addObjectAttachmentsIfAbsent(Map<String,Object> attachments)
@Deprecated public String getAttachment(String key)
InvocationgetAttachment in interface Invocationpublic Object getObjectAttachment(String key)
getObjectAttachment in interface Invocation@Deprecated public String getAttachment(String key, String defaultValue)
InvocationgetAttachment in interface Invocation@Deprecated public Object getObjectAttachment(String key, Object defaultValue)
getObjectAttachment in interface Invocationpublic Object getObjectAttachmentWithoutConvert(String key)
getObjectAttachmentWithoutConvert in interface Invocationpublic Class<?> getReturnType()
public void setReturnType(Class<?> returnType)
public Type[] getReturnTypes()
public void setReturnTypes(Type[] returnTypes)
public InvokeMode getInvokeMode()
public void setInvokeMode(InvokeMode invokeMode)
public void setServiceModel(ServiceModel serviceModel)
setServiceModel in interface Invocationpublic ServiceModel getServiceModel()
getServiceModel in interface InvocationCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.