Suresh Movva wrote:
> 
> So what is the point of having a factory?
> 

Hmmm, wouldn't you say it would be more useful to define interceptors with
the factory, so you don't have to keep manually attaching them to the client
after you use the factory to create the client?  And then, next, create
separate factories based on the types of endpoints you need--some with
logging interceptors, some without, some needing security headers
interceptors, some without them, etc.?

Glen
-- 
View this message in context: 
http://www.nabble.com/Shared-Interceptors-causing-error---Broken-Encapsulation--tp19438399p19440220.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to