Package org.apache.tapestry5.ioc.services

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `addOperationAdvice​(MethodAdviceReceiver receiver)` | Adds advice to methods with the `Operation` annotation.
    `MethodAdvice` | `createAdvice​(java.lang.String description)` | Creates advice for a method.

- - ### Method Detail

    - #### addOperationAdvice

          void addOperationAdvice​(MethodAdviceReceiver receiver)

      Adds advice to methods with the `Operation` annotation.

    - #### createAdvice

          MethodAdvice createAdvice​(java.lang.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()`