You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we are hijacking @ComponentScan to utilize @FrameworkControllerScan, this prevents a user from using it alongside any other @ComponentScan, including an @SpringBootApplication class.
Instead, a user is required to create a static inner class or @Import another @Configuration class that contains the @FrameworkControllerScan.
This represents work towards dynamically registering beans via an ImportBeanDefinitionRegistrar. Some work has already been done towards this effort at import-registrar. The challenge is that we need to build our own BeanDefinition from the class itself and don't have a lot of examples to rely on.
The text was updated successfully, but these errors were encountered:
Since we are hijacking
@ComponentScan
to utilize@FrameworkControllerScan
, this prevents a user from using it alongside any other@ComponentScan
, including an@SpringBootApplication
class.Instead, a user is required to create a static inner class or
@Import
another@Configuration
class that contains the@FrameworkControllerScan
.This represents work towards dynamically registering beans via an
ImportBeanDefinitionRegistrar
. Some work has already been done towards this effort atimport-registrar
. The challenge is that we need to build our ownBeanDefinition
from the class itself and don't have a lot of examples to rely on.The text was updated successfully, but these errors were encountered: