Say I have a tomcat/Spring web application. I am wondering whether Spring does detect runtime changes to its configuration file such as this one (assuming the file is on the classpath):
Commenting second bean and adding first bean as below:
Will Spring change the implementation at runtime as expected?
<bean id="randonNumberGenerator" class="com.me.MyGenerator"/>
<bean id="randonNumberGenerator" class="com.someoneelse.ADifferentGenerator"/>
P.S. I posted a similar question about a standalone app.