Hi All,
got a very basic question.We know the beans which refer to each other has autowiring be it byType,byName etc.
I have snippet of my xml file
i am just confused the kind of wiring the two beans have in between.Code:<bean name="properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" > <property name="locations"> <list> <value>classpath:jdbc.properties</value> <value>classpath:log4j.properties</value> </list> </property> </bean> <bean id="props" class="example2.PropertiesBean" > <property name="properties"> <props> <prop key="driver">${jdbc.driverClassName}</prop> <prop key="url">${jdbc.url}</prop> <prop key="user">${jdbc.username}</prop> <prop key="password">${jdbc.password}</prop> </props> </property> </bean> </beans>
please help


Reply With Quote