resteasy-spring-boot icon indicating copy to clipboard operation
resteasy-spring-boot copied to clipboard

Scan every package registered by Spring framework, instead of the whole class-path

Open fabiocarvalho777 opened this issue 8 years ago • 1 comments

The scanning registration method scans the whole classpath when looking for JAX-RS Application sub-class, and that impacts greatly performance during application start-up.

Instead of that, only packages registered to be scanned by Spring framework should be searched when registering JAX-RS Application sub-classes (regardless of them being Spring beans or not).

fabiocarvalho777 avatar May 17 '17 23:05 fabiocarvalho777

Here is a temporary, but functional and complete, solution for this issue (under branch issue_69).

This issue can be implemented only when working on version 3.0.0 though, which should happen when Spring Boot 2.0.0 or RESTEasy 4.0.0 is released.

fabiocarvalho777 avatar May 18 '17 00:05 fabiocarvalho777