I'm referring to Axis (Axis1). Our handlers was written non-thread-save so we 
would like to have separate instances per request or per access. But the same 
instance was always used no mater how we configured the <handler> element.



BTW, what's the difference between request vs access?



Thanks,

Gang

________________________________
From: Deepal jayasinghe [[email protected]]
Sent: Thursday, July 17, 2014 1:07 AM
To: [email protected]
Subject: Re: Does Axis effectively support handler scoping?

Are you referring to Axis or Axis2. In case of Axis2, handlers are stateless 
and thus the same instance of the handler will be used. If you want to share 
the information use the Configuration context or message context.

Deepal

Hi,



I read from Axis architecture guide that Axis handler support different scoping 
of per-access, per-request and singleton. However when I configured the 
handlers to per-request or per-access, the same instance of the handler is 
always used. My question is that does Axis effectively support different 
scoping?



Thanks,

Gang

Reply via email to