Wednesday, 21 May 2008

Another WTF Moment brought to you this time from Spring Framework

I had to configure some spring configuration files and one request was that the properties should be extracted into a separate properties file so that a user can change them without messing around with XML. Looking into Spring that seemed to be quite easily to achieve and so I started adjusting the configuration file which contained this snippet:


    <bean id="propertyPlaceholder"
        class="org.springframework.beans.\
            factory.config.PropertyPlaceholderConfigurer">
       <property name="location"
            value="classpath:ldap/authenticationConfiguration.properties"/>
    </bean>

  keep on reading here

Posted by schaefera at 8:04 PM in Java