|
|
@ -980,7 +980,7 @@ does not inject other beans from the context. Having said that, The
|
|
|
|
`@EnableConfigurationProperties` annotation is _also_ automatically applied to your project
|
|
|
|
`@EnableConfigurationProperties` annotation is _also_ automatically applied to your project
|
|
|
|
so that any _existing_ bean annotated with `@ConfigurationProperties` will be configured
|
|
|
|
so that any _existing_ bean annotated with `@ConfigurationProperties` will be configured
|
|
|
|
from the `Environment`. You could shortcut `MyConfiguration` above by making sure
|
|
|
|
from the `Environment`. You could shortcut `MyConfiguration` above by making sure
|
|
|
|
`FooProperties` is a already a bean:
|
|
|
|
`FooProperties` is already a bean:
|
|
|
|
|
|
|
|
|
|
|
|
[source,java,indent=0]
|
|
|
|
[source,java,indent=0]
|
|
|
|
----
|
|
|
|
----
|
|
|
|