|Home > Guides > Core Developers Guide > Annotations > AnnotationWorkflowInterceptor|
Invokes any annotated methods on the action. Specifically, it supports the following annotations:
There can be multiple methods marked with the same annotations, but the order of their execution is not guaranteed. However, the annotated methods on the superclass chain are guaranteed to be invoked before the annotated method in the current class in the case of a Before annotations and after, if the annotations is After.
Configure a stack in struts.xml that replaces the PrepareInterceptor with the AnnotationWorkflowInterceptor:
Given an Action, AnnotatedAction, add a reference to the AnnotationWorkflowInterceptor interceptor.
With the interceptor applied and the action executed on
AnnotatedAction the log
instance variable will contain