How can I inject a property value into a Spring Bean which was configured using annotations?
I have a bunch of Spring beans which are picked up from the classpath via annotations, e.g. @Repository(“personDao”) public class PersonDaoImpl extends AbstractDaoImpl implements PersonDao { // Implementation omitted } In the Spring XML file, there’s a PropertyPlaceholderConfigurer defined: <bean id=”propertyConfigurer” class=”org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”> <property name=”location” value=”/WEB-INF/app.properties” /> </bean> I want to inject one of the properties … Read more