接口 Operation
- 所有已知子接口:
JmxOperation
,WebOperation
- 所有已知实现类:
AbstractDiscoveredOperation
public interface Operation
An operation on anendpoint
.- 从以下版本开始:
- 2.0.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 OperationType
getType()
Returns thetype
of the operation.Object
invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.
方法详细资料
getType
OperationType getType()
Returns thetype
of the operation.- 返回:
- the type
invoke
Object invoke(InvocationContext context)
Invoke the underlying operation using the givencontext
.- 参数:
context
- the context in to use when invoking the operation- 返回:
- the result of the operation, may be
null