Hi,

I have an application that exposes some JAX-RS resources and uses some
JAX-RS clients to access backend systems. The application is configured with
component-scan=true and classes-scan-packages with a list of packages of the
application. However after the component scan CXF ignores the given packages
and tries to expose all classes from the application context as resources
(also the ones from client since they are part of the application context
and annotated with @Path).

Doesn't it make sense to restrict the component scan to the given packages
in AbstractSpringComponentScanServer? Or is there another way to avoid this?

Cheers
Dennis



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Limit-JAX-RS-Spring-component-scan-to-certain-packages-tp5776205.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to