mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Document that @Validated & @Lazy may be used as meta-annotations
See gh-36305 See gh-36306
This commit is contained in:
@@ -54,6 +54,9 @@ import java.lang.annotation.Target;
|
||||
* for optional dependencies. For a programmatic equivalent, allowing for lazy references
|
||||
* with more sophistication, consider {@link org.springframework.beans.factory.ObjectProvider}.
|
||||
*
|
||||
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
|
||||
* <em>composed annotations</em>.
|
||||
*
|
||||
* @author Chris Beams
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.0
|
||||
|
||||
@@ -41,6 +41,9 @@ import java.lang.annotation.Target;
|
||||
* for a specific bean to begin with. Can also be used as a meta-annotation on a
|
||||
* custom stereotype annotation or a custom group-specific validated annotation.
|
||||
*
|
||||
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
|
||||
* <em>composed annotations</em>.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 3.1
|
||||
* @see jakarta.validation.Validator#validate(Object, Class[])
|
||||
|
||||
Reference in New Issue
Block a user