Hi
Here's how you can get to the complete list of (root) resources from a custom
filter (assuming your endpoint has few of them) :
Endpoint e = message.getExchange().get(Endpoint.class);
((JAXRSServiceImpl)e.getService()).getClassResourceInfos();
or would you like to get to this list from the application code ?
It might be possible to get to this list from a CXF-specific MessageContext...
cheers, Sergey
Hi All,
I'm trying to find a way to get the list of resource classes at runtime when
everything is wired up by spring but can't find a way to get at it.
I'm pretty sure i need JAXRSServiceFactoryBean.getClassResourceInfo() which
seems to be wired up via the JAXRSServerFactoryBean but can't find any
context object to get it from?
Alternatively, is there a context object we can query spring beans from?
Thanks,
Kynan
--
View this message in context:
http://www.nabble.com/-JAX-RS----Is-it-possible-to-get-a-handle-to-the-JAXRSServiceFactoryBean-class-configured-via-spring--tp25607213p25607213.html
Sent from the cxf-user mailing list archive at Nabble.com.