Add Tip noting the required PropertySourcesPlaceholderConfigurer bean definition when using Spring's @Value annotation and Spring Boot is not in play.

This commit is contained in:
John Blum
2018-08-10 20:11:39 -07:00
parent 8a6217cf18
commit 3ec908e87a

View File

@@ -402,6 +402,10 @@ class MySpringSessionConfiguration {
}
----
TIP: Spring Boot will resolve `@Value` annotation property placeholder values or SpEL Expressions automatically.
However, if you are not using Spring Boot, then you must explicitly register a static
`PropertySourcesPlaceholderConfigurer` bean definition.
The choice is yours.
[[httpsession-gemfire-serialization]]