Package 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
  Description
  `OperationAdvisorImpl(OperationTracker tracker)`

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

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

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

- ## Constructor Details

  - ### OperationAdvisorImpl

    public OperationAdvisorImpl(OperationTracker tracker)

- ## Method Details

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