ashishlahoti / comments-codingnconcepts.com

Repository for hosting comments for https://codingnconcepts.com
0 stars 0 forks source link

spring-boot/spring-value-annotation/ #8

Open ashishlahoti opened 3 years ago

ashishlahoti commented 3 years ago

Spring @Value Annotation Guide

In this article, we’ll learn how to inject values for Primitives, List, Map, and Date with inline values and from property file using @Value Annotation with examples. We’ll also see its usage with Constructor-based & Setter-based Injection, and SpEL.

https://codingnconcepts.com/spring-boot/spring-value-annotation/

ghost commented 1 year ago

Thank you Ashish for this article! I was searching for the syntax to inject the Map and this helped me.