public interface Invocation
Invoker.invoke(Invocation),
RpcInvocation| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object key) |
Object[] |
getArguments()
get arguments.
|
String |
getAttachment(String key)
get attachment by key.
|
String |
getAttachment(String key,
String defaultValue)
get attachment by key with default value.
|
Map<String,String> |
getAttachments()
get attachments.
|
Map<Object,Object> |
getAttributes() |
default String[] |
getCompatibleParamSignatures()
get parameter's signature, string representation of parameter types.
|
Invoker<?> |
getInvoker()
get the invoker in current context.
|
String |
getMethodName()
get method name.
|
Class<?>[] |
getParameterTypes()
get parameter types.
|
String |
getServiceName()
get the interface name
|
String |
getTargetServiceUniqueName() |
Object |
put(Object key,
Object value) |
void |
setAttachment(String key,
String value) |
void |
setAttachmentIfAbsent(String key,
String value) |
String getTargetServiceUniqueName()
String getMethodName()
String getServiceName()
Class<?>[] getParameterTypes()
default String[] getCompatibleParamSignatures()
Object[] getArguments()
String getAttachment(String key, String defaultValue)
Invoker<?> getInvoker()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.