Class RepeatableContainers

java.lang.Object
org.springframework.core.annotation.RepeatableContainers

public abstract class RepeatableContainers extends Object
Strategy used to determine annotations that act as containers for other annotations. The standardRepeatables() method provides a default strategy that respects Java's @Repeatable support and should be suitable for most situations.

The of(java.lang.Class<? extends java.lang.annotation.Annotation>, java.lang.Class<? extends java.lang.annotation.Annotation>) method can be used to register relationships for annotations that do not wish to use @Repeatable.

To completely disable repeatable support use none().

Since:
5.2
Author:
Phillip Webb, Sam Brannen