接口 Invocation
-
- 所有已知实现类:
DecodeableRpcInvocation
,RpcInvocation
public interface Invocation
Invocation. (API, Prototype, NonThreadSafe)
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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()
Invoker<?>
getInvoker()
get the invoker in current context.String
getMethodName()
get method name.Class<?>[]
getParameterTypes()
get parameter types.Object
put(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.
-
-