Interface OperationAdvisor
- All Known Implementing Classes:
OperationAdvisorImpl
public interface OperationAdvisor
Used from a service advice method to identify methods with the
Operation
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
Modifier and TypeMethodDescriptionvoid
addOperationAdvice
(MethodAdviceReceiver receiver) createAdvice
(String description) Creates advice for a method.
-
Method Details
-
addOperationAdvice
-
createAdvice
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:
-