接口 Invocation
-
- 所有已知实现类:
DecodeableRpcInvocation,RpcInvocation
public interface InvocationInvocation. (API, Prototype, NonThreadSafe)
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Objectget(Object key)Object[]getArguments()get arguments.StringgetAttachment(String key)get attachment by key.StringgetAttachment(String key, String defaultValue)get attachment by key with default value.Map<String,String>getAttachments()get attachments.Map<Object,Object>getAttributes()Invoker<?>getInvoker()get the invoker in current context.StringgetMethodName()get method name.Class<?>[]getParameterTypes()get parameter types.Objectput(Object key, Object value)
-
-
-
方法详细资料
-
getMethodName
String getMethodName()
get method name.- 返回:
- method name.
-
getParameterTypes
Class<?>[] getParameterTypes()
get parameter types.- 返回:
- parameter types.
-
getArguments
Object[] getArguments()
get arguments.- 返回:
- arguments.
-
getAttachment
String getAttachment(String key, String defaultValue)
get attachment by key with default value.- 返回:
- attachment value.
-
getInvoker
Invoker<?> getInvoker()
get the invoker in current context.- 返回:
- invoker.
-
-