public static class Invocation.CompatibleInvocation extends Object implements Invocation, Invocation
Invocation.CompatibleInvocation| 构造器和说明 |
|---|
CompatibleInvocation(Invocation invocation) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Invoker<?> |
getInvoker()
get the invoker in current context.
|
String |
getMethodName()
get method name.
|
Invocation |
getOriginal() |
Class<?>[] |
getParameterTypes()
get parameter types.
|
setAttachment, setAttachmentIfAbsentpublic CompatibleInvocation(Invocation invocation)
public String getMethodName()
InvocationgetMethodName 在接口中 Invocationpublic Class<?>[] getParameterTypes()
InvocationgetParameterTypes 在接口中 Invocationpublic Object[] getArguments()
InvocationgetArguments 在接口中 Invocationpublic Map<String,String> getAttachments()
InvocationgetAttachments 在接口中 Invocationpublic String getAttachment(String key)
InvocationgetAttachment 在接口中 Invocationpublic String getAttachment(String key, String defaultValue)
InvocationgetAttachment 在接口中 Invocationpublic Invoker<?> getInvoker()
InvocationgetInvoker 在接口中 Invocationpublic Invocation getOriginal()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.