Document @ConfigurationProperties on @Bean methods
Minor javadoc edits to hint that @ConfigurationProperties can also be used with @Bean methods. Fixes gh-1330
This commit is contained in:
parent
92899474ac
commit
621649d9c6
|
|
@ -23,8 +23,9 @@ import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Annotation for externalized configuration. Add this to a class definition if you want
|
* Annotation for externalized configuration. Add this to a class definition or a
|
||||||
* to bind and validate some external Properties (e.g. from a .properties file).
|
* {@code @Bean} method in a {@code @Configuration} class if you want to bind and validate
|
||||||
|
* some external Properties (e.g. from a .properties file).
|
||||||
*
|
*
|
||||||
* @author Dave Syer
|
* @author Dave Syer
|
||||||
* @see ConfigurationPropertiesBindingPostProcessor
|
* @see ConfigurationPropertiesBindingPostProcessor
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue