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: 
http://cxf.547215.n5.nabble.com/Injecting-jax-rs-PathParam-into-sub-resource-fields-tp5013364p5013364.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to