cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <>
Subject Re: Injecting jax-rs PathParam into sub-resource fields
Date Wed, 19 Dec 2012 17:24:24 GMT
Sorry for the duplication - I've just updated the code to support it by 
default in CXF if "staticSubresourceResolution" property is set, 
starting from CXF 2.7.2 trunk

On 22/11/11 12:15, Pat Turner wrote:
> I've successfully used jax-rs sub-resources and can access PathParams defined
> in a root resource when passed in by method.
> I would like to define the path param as a field however. Is this possible
> for sub-resources.
> I imagine that I would need to get jax-rs to inject my sub-resource, or look
> it up from a jax-rs context. Currently I just Autowire the subresource with
> Spring as a 'prototype' scoped bean. I guess Spring doesn't have access to
> the jax-rs context.
> Any hints or clues?
> Many thanks,
> Pat
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

Sergey Beryozkin

Talend Community Coders


View raw message