cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject InterceptorChain synchronization
Date Mon, 16 Apr 2007 19:07:08 GMT
I'd like to allow the PhaseInterceptorChain to work with pause/resume
calls within the same thread, which is not the case due to some weird
synchronization (this may seems a little odd, but is rather handy when
the invocation may be asynchronous).

What about removing the pausedMessage stuff and adding a synchronized
keyword to pause/resume/doIntercept/reset.

Also, I'd like to make another change in this class to automatically cast
any catched exception to a Fault (or create one if needed), because nearly
all interceptors dealing with exceptions expect a Fault and it results in
ClassCastException if this is not the cause.

-- 
Cheers,
Guillaume Nodet

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message