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

  Modifier and Type
  Method
  Description
  `void`
  `addOperationAdvice(MethodAdviceReceiver receiver)`
  Adds advice to methods with the `Operation` annotation.
  `MethodAdvice`
  `createAdvice(String description)`
  Creates advice for a method.

- ## Method Details

  - ### addOperationAdvice

    void addOperationAdvice(MethodAdviceReceiver receiver)
    Adds advice to methods with the `Operation` annotation.

  - ### 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()`