Interface OperationAdvisor
-
- All Known Implementing Classes:
OperationAdvisorImpl
public interface OperationAdvisor
Used from a service advice method to identify methods with theOperation
annotation, and add advice for those methods. This advice should typically be provided first, or nearly first, among all advice, to maximize the benefit of tracking operations.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addOperationAdvice(MethodAdviceReceiver receiver)
MethodAdvice
createAdvice(String description)
Creates advice for a method.
-
-
-
Method Detail
-
addOperationAdvice
void addOperationAdvice(MethodAdviceReceiver receiver)
-
createAdvice
MethodAdvice createAdvice(String description)
Creates advice for a method.- Parameters:
description
- the text (or format) used to display describe the operation for the method- Returns:
- method advice
- See Also:
Operation.value()
-
-