I've just updated 3.0.4-SNAPSHOT to have the following supported
<jaxrs:server address="/"/>
<context:component-scan base-package="xxx"/>
Adding Spring @Component annotations to root resources and providers,
and if needed @Scope to the root resources, should be sufficient for the
above to work
Sergey
On 28/10/14 12:28, Vjacheslav V. Borisov wrote:
2014-10-28 15:43 GMT+04:00 Sergey Beryozkin <[email protected]>:
I don't think it does, I guess it just duplicates the CXF JAX-RS 'own'
Spring auto-discovery process which is not a big issue IMHO, makes it a bit
slower to register. What I actually do plan to do though, something I
referred to earlier on, is to support a case where you just do
<jaxrs:server address="/"/>
and Spring specific <context:component-scan base-package="xxx"/> plus
@AutoWired/@Component and it will set up the endpoint...
We have some code support for doing Spring @Configuration driven set-up of
CXF JAXRS endpoints too...
Cheers, Sergey
Ok , thanks for explanation