Index Changes
This is version 2. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Understanding Interceptor Key Concepts

It is imperative that we understand the key concepts of interceptors before we proceed with writing one. Interceptors in Fuji are, in theory, based on the Aspect Oriented Programming(AOP) technique. They allow you to apply advice at a set of point cuts. The following key elements define interceptors in Fuji :

Intercepted Entity

What is Intercepted?

Interceptors are injected onto the message path and can intercept the Messages being exchanged on that path or the entire Message Exchange. So, interceptors can intercept the :

  1. Entire Message Exchange
  2. Message
  3. Message payload

Let's go over each of these in detail.

Intercepting the Message Exchange
This gives the interceptor the most flexibility in altering the course of the message flow and it's content. An interceptor which intercepts a message exchange can

  • read the message(s) in the exchange
  • read the message(s) properties
  • update the message
  • update the message properties
  • update the message exchange status
  • short the exchange

The updates need to be made within the limits of the Message Exchange Pattern Add MEP Link

Interception Point

Interception Scope

Interceptor

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This particular version was published on 15-Sep-08 14:41 PM, -0700 by JBIWIKI