--- Niclas Hedhman <[EMAIL PROTECTED]>
> As I have understood it (it is not my idea), is that
> the Interceptor is an 
> interface and have any number of implementations,
> each configured and brought 
> to life as components in general.
> 
> Albert then suggested a "Order" value for each such
> component to determine 
> which one is first and last in the chain.

Correct.  Note that the end-point of the chain shall
always be the original service, which is not aware of
the chain at all.

I thought about Niclas's suggestion about multiple
interceptor interfaces.  Implementation-wise it seems
to be slower and more complex than the original
proposal.  However, from a design point of view it
seems cleaner, more flexible, and more backward
compatible.

I like Niclas's suggestion.

Albert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to