Reputation: 1139
I've gleaned that adding the context:component-scan will enable adding any jar with bean annotated as @Bean to the spring configuration, but , while getting lost in the Framework reference...
Thanks to all .... (it's spring framework 3.0.)
Upvotes: 0
Views: 1572
Reputation: 1302
You need to use the @Value
annotation to inject the value from a property coming from a property file or a -Dproperty
Upvotes: 2