org.apache.tapestry5.ioc.internal.services

## Class OperationAdvisorImpl

- java.lang.Object
- - org.apache.tapestry5.ioc.internal.services.OperationAdvisorImpl

- All Implemented Interfaces:
    OperationAdvisor

      @PreventServiceDecoration
      public class OperationAdvisorImpl
      extends Object
      implements OperationAdvisor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OperationAdvisorImpl(OperationTracker tracker)`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OperationAdvisorImpl

          public OperationAdvisorImpl(OperationTracker tracker)

  - ### Method Detail

    - #### addOperationAdvice

          public void addOperationAdvice(MethodAdviceReceiver receiver)

      Description copied from interface: `OperationAdvisor`
      Adds advice to methods with the `Operation` annotation.
      Specified by:
        `addOperationAdvice` in interface `OperationAdvisor`

    - #### createAdvice

          public MethodAdvice createAdvice(String description)

      Description copied from interface: `OperationAdvisor`
      Creates advice for a method.
      Specified by:
        `createAdvice` in interface `OperationAdvisor`
      Parameters:
        `description` - the text (or format) used to display describe the operation for the method
      Returns:
        method advice
      See Also:
        `Operation.value()`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.