I\'m trying to set the value of a string in a spring bean using @Value, when my property source is a subclass of PropertyPlaceholderConfigurer. Any
Old question, but still worth to be answered. You can use the expression the same way as you would with the original PropertyPlaceholderConfigurer.
app.properties
app.value=Injected
app-context.xml
file:app.properties
in the target bean
@Value(value="${app.value}")
private String injected;
Tested this approach using Spring 3.0.6