@Target([AnnotationTarget.CLASS, AnnotationTarget.FILE]) class ComponentScans
Container annotation that aggregates several ComponentScan annotations.
Can be used natively, declaring several nested ComponentScan annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where ComponentScan can simply be declared several times on the same method, implicitly generating this container annotation.
Author
Juergen Hoeller
Since
4.3
See Also
ComponentScan
ComponentScans(vararg value: ComponentScan)
Container annotation that aggregates several ComponentScan annotations. Can be used natively, declaring several nested ComponentScan annotations. Can also be used in conjunction with Java 8's support for repeatable annotations, where ComponentScan can simply be declared several times on the same method, implicitly generating this container annotation. |
val value: Array<ComponentScan> |