org.apache.tapestry5.ioc.annotations

## Annotation Type Operation

-     @Target(value=METHOD)
       @Retention(value=RUNTIME)
       @Documented
       @UseWith(value={SERVICE,COMPONENT,PAGE})
      public @interface Operation

  Describes a method as one that should be operation tracked. Operation tracking is useful when an exception in deeply nested code occurs, as it is possible to identify (using human readable descriptions) the path to the code that failed.
  Since:
    5.4
  See Also:
    `OperationTracker`

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `value` The message to pass to `OperationTracker.invoke(String, org.apache.tapestry5.ioc.Invokable)`.

- - ### Element Detail

    - #### value

          public abstract String value

      The message to pass to `OperationTracker.invoke(String, org.apache.tapestry5.ioc.Invokable)`. If the message contains the '%' character, it is interpreted to be a format string, passed the method's parameters.
      See Also:
        `OperationAdvisor.createAdvice(String)`

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.