Top Description Methods
org.springframework.context.annotation

public @Interface ComponentScans

extends Annotation
Annotations
@Retention:RUNTIME
@Target:TYPE
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

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

Method Summary

Modifier and TypeMethod and Description
public ComponentScan[]
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public ComponentScan[] value()