Injecting Values
Any kind of object not supported by the bean injection system can be injected by using the @Value annotation and SpEL.
For example you can inject a property:
More details can be found in the SpEL section.
Types
The value usually is a primitive wrapper:
Or a collection:
Last updated
Was this helpful?