I have a bean that looks something like this:
<bean id="envUtil" class="com.environment.util.MainClass">
<property name="config1" value="${var1}"></property>
<property name="config2" value="${var2}"></property>
</bean>
Now I understand the class com.environment.util.MainClass gets initiated when the application shoots up.
But how does its data members config1 and config2 get their value?
What does the expression "${var1}" mean?
And from where will this var be read?
I am new to Spring so please excuse me if the question is trivial.