Polishing

Issue: SPR-11221
This commit is contained in:
Juergen Hoeller
2013-12-17 12:40:21 +01:00
parent 23546b1234
commit 2a3ca619f9

View File

@@ -97,15 +97,12 @@ public @interface ControllerAdvice {
*/
Class<?>[] assignableTypes() default {};
/**
* Array of annotations.
* Controllers that are annotated with this/one of those annotation(s)
* will be assisted by the {@code @ControllerAdvice} annotated class.
*
* <p>Consider creating a special annotation or use a predefined one,
* like {@link RestController @RestController}.
*
* @since 4.0
*/
Class<? extends Annotation>[] annotations() default {};