I do not know if you have a solution, but a colleague, and I have a potential solution.
In full disclosure, we are working for Red Hat in the Snowdrop project, which provides support for Spring applications on JBoss.
A potential solution is to use component scanning in the jdoss namespace for snowdrops - https://github.com/snowdrop/snowdrop/tree/CustomBeanScanner
Using this, you can add a custom component scanner to use <jboss:component-scan base-package="foo.bar"/> instead of <context:component-scan base-package="foo.bar"/> <jboss:component-scan base-package="foo.bar"/> .
We know this works, but we don’t know if anyone wants to change their application to use this feature. Is intentional communication the cost of increasing speed?
The code is listed in the branch above for those who try / use.
thanks Joshua
source share