If manager and dao impls could also act as JAX-RS subresources (i.e, they
could themselves service JAX-RS requests) then, provided CXF gets updated,
CXF might be able to inject @Contexts such HttpHeaders/etc into subresource
fields.

Cheers, Sergey

On Thu, Mar 31, 2011 at 2:06 PM, Pratyush Chandra
<coolpratyus...@yahoo.com>wrote:

> Message message = PhaseInterceptorChain.getCurrentMessage(); worked like a
> charm...is it a global throught my service request ?
>
> For your 1st approach,
>
>
> I have access to manager class instance in serviceimpl...and dao in
> manager...
> I dont know how to inject in subresources ? Can you elaborate more on
> subresources ?
>
>
>
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Accessing-MessageContext-and-http-headers-across-service-layers-tp4273158p4273331.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Sergey Beryozkin

Application Integration Division of Talend <http://www.talend.com>
http://sberyozkin.blogspot.com

Reply via email to