cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin" <sbery...@progress.com>
Subject Re: Thread Safety
Date Fri, 21 Aug 2009 10:19:53 GMT
Hi

----- Original Message ----- 
From: "Nathaniel Auvil" <nathaniel.auvil@gmail.com>
To: <users@cxf.apache.org>
Sent: Thursday, August 20, 2009 6:18 PM
Subject: Thread Safety


>I am implementing JAX-RS web service with CXF and i want to confirm my
> Resource classes are thread safe.  i am thinking they are as the examples
> show member variables holding various contexts and the like and no where
> down the chain does the "AbstractService" extend java servlet.  Can someone
> in the know please confirm?
>

All the fields containing injected contexts are thread safe, when resource classes are singletons,
so yes resource classes are 
thread safe.

> and no where down the chain does the "AbstractService" extend java servlet.

Can you clarify please what you meant to say ?

thanks, Sergey 


Mime
View raw message