open fun register(vararg annotatedClasses: Class<*>): Unit
Register one or more annotated classes to be processed.
Note that #refresh() must be called in order for the context to fully process the new classes.
annotatedClasses - one or more annotated classes, e.g. org.springframework.context.annotation.Configuration classes
See Also
#scan(String...)#loadBeanDefinitions(DefaultListableBeanFactory)#setConfigLocation(String)#refresh()