You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by James Mao <ja...@iona.com> on 2007/02/01 09:52:42 UTC

Re: Attachment support in XML binding and ProviderChainObserver (Was : Mime support...)

Hi,

> * In ProviderChainObserver::onMessage() explictly add 
> AttachmentInInterceptors in front of the DispatchInInterceptor, 
> simpliest solution possibly, but not generic.
>
> * clear away only those interceptors which are not instanceof certain 
> AbstractInterceptor types so that interceptors to do with the 
> (de)serializing, logging, etc can be left in the chain
>
> * Update base Interceptor interface to have a method like getType() or 
> smth like that so that binding interceptors dealing with SEI 
> invocatins can be removed...
>

The first approach is the easiest way. and also make sense.

Cheers,
James.