spring-framework / org.springframework.context.annotation / AnnotatedBeanDefinitionReader / register

register

open fun register(vararg annotatedClasses: Class<*>): Unit

Register one or more annotated classes to be processed.

Calls to register are idempotent; adding the same annotated class more than once has no additional effect.

Parameters

annotatedClasses - one or more annotated classes, e.g. Configuration classes