Annotation Type Operation
-
@Target(METHOD) @Retention(RUNTIME) @Documented @UseWith({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 Description String
value
The message to pass toOperationTracker.invoke(String, org.apache.tapestry5.ioc.Invokable)
.
-
-
-
Element Detail
-
value
String value
The message to pass toOperationTracker.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)
-
-