For spring 3.0, the correct way is the one shown - using @Value("${expression}")
For spring pre-3.0, you can try:
@Autowired
private StringValueResolver resolver;
There were no context initialization problems here, but I'm not sure it will work. Using the resolver you can resolve properties.