public class RpcInvocation extends Object implements Invocation, Serializable
Invocation.CompatibleInvocation| 构造器和说明 |
|---|
RpcInvocation() |
RpcInvocation(Invocation invocation) |
RpcInvocation(Invocation invocation,
Invoker<?> invoker) |
RpcInvocation(Method method,
Object[] arguments) |
RpcInvocation(Method method,
Object[] arguments,
Map<String,String> attachment) |
RpcInvocation(String methodName,
Class<?>[] parameterTypes,
Object[] arguments) |
RpcInvocation(String methodName,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,String> attachments) |
RpcInvocation(String methodName,
Class<?>[] parameterTypes,
Object[] arguments,
Map<String,String> attachments,
Invoker<?> invoker) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAttachments(Map<String,String> attachments) |
void |
addAttachmentsIfAbsent(Map<String,String> attachments) |
Object[] |
getArguments() |
String |
getAttachment(String key) |
String |
getAttachment(String key,
String defaultValue) |
Map<String,String> |
getAttachments() |
Invoker<?> |
getInvoker() |
String |
getMethodName() |
Class<?>[] |
getParameterTypes() |
String |
getProtocolServiceKey() |
void |
setArguments(Object[] arguments) |
void |
setAttachment(String key,
String value) |
void |
setAttachmentIfAbsent(String key,
String value) |
void |
setAttachments(Map<String,String> attachments) |
void |
setInvoker(Invoker<?> invoker) |
void |
setMethodName(String methodName) |
void |
setParameterTypes(Class<?>[] parameterTypes) |
String |
toString() |
get, getAttributes, getObjectAttachment, getObjectAttachment, getObjectAttachments, getOriginal, getServiceName, getTargetServiceUniqueName, put, setAttachment, setAttachmentIfAbsent, setObjectAttachment, setObjectAttachmentIfAbsentpublic RpcInvocation()
public RpcInvocation(Invocation invocation, Invoker<?> invoker)
public RpcInvocation(Invocation invocation)
public RpcInvocation(Method method, Object[] arguments, Map<String,String> attachment)
public RpcInvocation(String methodName, Class<?>[] parameterTypes, Object[] arguments)
public RpcInvocation(String methodName, Class<?>[] parameterTypes, Object[] arguments, Map<String,String> attachments)
public Invoker<?> getInvoker()
getInvoker 在接口中 org.apache.dubbo.rpc.Invocationpublic void setInvoker(Invoker<?> invoker)
public String getProtocolServiceKey()
getProtocolServiceKey 在接口中 org.apache.dubbo.rpc.Invocationpublic String getMethodName()
getMethodName 在接口中 org.apache.dubbo.rpc.Invocationpublic void setMethodName(String methodName)
public Class<?>[] getParameterTypes()
getParameterTypes 在接口中 org.apache.dubbo.rpc.Invocationpublic void setParameterTypes(Class<?>[] parameterTypes)
public Object[] getArguments()
getArguments 在接口中 org.apache.dubbo.rpc.Invocationpublic void setArguments(Object[] arguments)
public Map<String,String> getAttachments()
getAttachments 在接口中 org.apache.dubbo.rpc.Invocationpublic void setAttachment(String key, String value)
setAttachment 在接口中 org.apache.dubbo.rpc.Invocationpublic void setAttachmentIfAbsent(String key, String value)
setAttachmentIfAbsent 在接口中 org.apache.dubbo.rpc.Invocationpublic String getAttachment(String key)
getAttachment 在接口中 org.apache.dubbo.rpc.Invocationpublic String getAttachment(String key, String defaultValue)
getAttachment 在接口中 org.apache.dubbo.rpc.InvocationCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.