Hi all,

I have followed the instructions at 
http://cxf.apache.org/docs/jaxrs-services-configuration.html to configure my 
jax-rs service as request scoped, created the simple custom factory as 
described but the @Context (org.apache.cxf.jaxrs.ext.MessageContext) does not 
seem to be getting set when I switched from singleton to request scope even 
though I followed the documentation which said to use serviceFactories because 
this is a known issue. (in the paragraph beginning with: "The request-scoped 
service bean instances [...] are not actually available at the initialization 
time thus one limitation of the above configuration is that it is not possible 
to inject JAX-RS contexts into these service beans")

What might I be doing wrong? Any guidance is greatly appreciated. I could 
provide sample config files / classes if that'd help?

Thanks,
-Clint


  

Reply via email to