Interface Operation
- All Known Subinterfaces:
JmxOperation,WebOperation
- All Known Implementing Classes:
AbstractDiscoveredOperation
public interface Operation
An operation on anendpoint.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationTypegetType()Returns thetypeof the operation.Objectinvoke(InvocationContext context)Invoke the underlying operation using the givencontext.
Method Detail
getType
OperationType getType()
Returns thetypeof the operation.- Returns:
- the type
invoke
Object invoke(InvocationContext context)
Invoke the underlying operation using the givencontext.- Parameters:
context- the context in to use when invoking the operation- Returns:
- the result of the operation, may be
null