Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Interceptors provide an excellent means to wrap before/after processing. The concept is like AOP minimizing code duplication.

Order of interceptors...

Code Block
<interceptor-stack name="xaStack"> 
  <interceptor-ref name="thisWillRunFirstInterceptor"/>
  <interceptor-ref name="thisWillRunNextInterceptor"/>
  <interceptor-ref name="followedByThisInterceptor"/>
  <interceptor-ref name="thisWillRunLastInterceptor"/>
</interceptor-stack>

...